Skip to content

Commit fbe0277

Browse files
author
Aleksander Morgensterns
committed
fixed buttons
1 parent 1f78c35 commit fbe0277

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

source/GM-TE/GMTEImageButton.class.st

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,14 +102,15 @@ GMTEImageButton >> doButtonAction [
102102

103103
{
104104
#category : #accessing,
105-
#'squeak_changestamp' : 'jj 6/22/2024 16:48'
105+
#'squeak_changestamp' : 'Alex M 7/6/2024 23:07'
106106
}
107107
GMTEImageButton >> dyeSprite: anImage with: aColor [
108108

109109
^ anImage copy
110110
replaceColor: Color white withColor: Color transparent;
111-
replaceColor: Color black withColor: aColor;
112-
yourself
111+
"replaceColor: Color black withColor: aColor;
112+
yourself"
113+
dyed: aColor
113114
]
114115

115116
{

0 commit comments

Comments
 (0)