Skip to content

Commit

Permalink
Fixing breakpoint icon styling using proper node breakpoint properties
Browse files Browse the repository at this point in the history
  • Loading branch information
StevenCostiou committed Jul 31, 2020
1 parent 3760ded commit b058dfe
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions src/Reflectivity-Tools/BreakpointIconStyler.class.st
Expand Up @@ -14,9 +14,9 @@ BreakpointIconStyler >> highlightColor [

{ #category : #defaults }
BreakpointIconStyler >> iconBlock: aNode [
^[ :seg |
Breakpoint removeFrom: aNode.
seg delete]
^ [ :seg |
aNode breakpoints do: [ :breakpoint | breakpoint remove ].
seg delete ]
]

{ #category : #defaults }
Expand Down
12 changes: 6 additions & 6 deletions src/Reflectivity-Tools/MetaLinkIconStyler.class.st
Expand Up @@ -29,10 +29,10 @@ MetaLinkIconStyler >> iconLabel: aNode [

{ #category : #testing }
MetaLinkIconStyler >> shouldStyleNode: aNode [
^ aNode hasLinks and: [
aNode links anySatisfy: [ :link |
(link metaObject == Break or: [
{
Watch.
ExecutionCounter } includes: link metaObject class ]) not ] ]
aNode hasBreakpoint ifTrue: [ ^ false ].
^ aNode hasLinks and: [
aNode links anySatisfy: [ :link |
({
Watch.
ExecutionCounter } includes: link metaObject class) not ] ]
]

0 comments on commit b058dfe

Please sign in to comment.