Skip to content

Commit

Permalink
update ICLabelButton behaviour to respond to OSC messages
Browse files Browse the repository at this point in the history
  • Loading branch information
lucretiomsp committed Oct 9, 2024
1 parent e58ecb3 commit 308ae11
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions CoypuIDE/ICButton.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -182,10 +182,10 @@ ICButton >> isOn: anObject [

{ #category : 'evaluating' }
ICButton >> setValue: req [
self value = req
ifFalse: [
self toggle.
].

"setting the value eternally correspond to a callback action"
self value = req ifFalse: [ self toggle ].
self callback value: req
]

{ #category : 'evaluating' }
Expand Down

0 comments on commit 308ae11

Please sign in to comment.