Skip to content

Commit

Permalink
fix reliance on unavailable mouse constant (5.3)
Browse files Browse the repository at this point in the history
  • Loading branch information
tom95 committed Apr 22, 2021
1 parent 00b5e7f commit 6e1d88c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/Sandblocks-Core/UserInputEvent.extension.st
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ Extension { #name : #UserInputEvent }
UserInputEvent >> optionKeyPressed [
"Answer if the option key on the keyboard was being held down when this event occurred."

^ self buttons anyMask: (2r0100 "opt" bitShift: MouseEvent numButtons)
^ self buttons anyMask: (2r0100 "opt" bitShift: 3)
]

0 comments on commit 6e1d88c

Please sign in to comment.