Skip to content

Commit

Permalink
BlDevKeyboard: send addEventHandlerOn:do:
Browse files Browse the repository at this point in the history
Fixes #665
  • Loading branch information
tinchodias committed Dec 5, 2024
1 parent 4dccc31 commit 6cd631b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Bloc-DevTool/BlDevKeyboard.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ BlDevKeyboard >> initializeBottomRow [
{ #category : #initialization }
BlDevKeyboard >> initializeEventListeners [
self
when: BlKeyDownEvent
addEventHandlerOn: BlKeyDownEvent
do: [ :anEvent |
('down: ' , anEvent key asString) traceCr.
StringSignal emit: 'down: ' , anEvent key asString.
Expand All @@ -68,7 +68,7 @@ BlDevKeyboard >> initializeEventListeners [
show: 'Unknown: ' , anEvent key asString;
cr ] ].
self
when: BlKeyUpEvent
addEventHandlerOn: BlKeyUpEvent
do: [ :anEvent |
('up ' , anEvent key asString) traceCr.
StringSignal emit: 'up: ' , anEvent key asString.
Expand Down

0 comments on commit 6cd631b

Please sign in to comment.