Skip to content

Commit

Permalink
Scales Assertion icons correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
codeZeilen committed Mar 8, 2024
1 parent 532f53d commit 8779ea6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ ui
addValues

values collect: [:result |
(result tracedValue
((result tracedValue
ifTrue: [ToolIcons testGreen]
ifFalse: [ToolIcons testOrange]) asMorph]
ifFalse: [ToolIcons testOrange])
scaledToSize: BPAnnotationMorph fontHeight)
asMorph]
thenDo: [:iconMorph | self addMorphBack: iconMorph].
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"class" : {
},
"instance" : {
"addValues" : "joabe 7/1/2023 16:11",
"addValues" : "pre 3/8/2024 17:30",
"basicValuesFor:" : "joabe 7/1/2023 16:07" } }

0 comments on commit 8779ea6

Please sign in to comment.