The Trunk: Morphic-eem.1736.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Morphic-eem.1736.mcz

commits-2
Eliot Miranda uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-eem.1736.mcz

==================== Summary ====================

Name: Morphic-eem.1736
Author: eem
Time: 4 March 2021, 2:52:33.343618 pm
UUID: b52e696e-9ad9-f840-b828-4bd8671b59c1
Ancestors: Morphic-eem.1735

More use of MouseEvent class side mouse button constants to prepare for more mouse buttons on gaming mice.

=============== Diff against Morphic-eem.1735 ===============

Item was changed:
  ----- Method: UserInputEvent>>commandKeyPressed (in category 'modifier state') -----
  commandKeyPressed
  "Answer true if the command key on the keyboard was being held down when this event occurred."
 
+ ^buttons anyMask: MouseEvent numButtons + 3!
- ^ buttons anyMask: 64!

Item was changed:
  ----- Method: UserInputEvent>>controlKeyPressed (in category 'modifier state') -----
  controlKeyPressed
+ "Answer if the control key on the keyboard was being held down when this event occurred."
- "Answer true if the control key on the keyboard was being held down when this event occurred."
 
+ ^buttons anyMask: (1 bitShift: MouseEvent numButtons + 1)!
- ^ buttons anyMask: 16!

Item was changed:
  ----- Method: UserInputEvent>>shiftPressed (in category 'modifier state') -----
  shiftPressed
  "Answer true if the shift key on the keyboard was being held down when this event occurred."
 
+ ^buttons anyMask: (1 bitShift: MouseEvent numButtons)
- ^ buttons anyMask: 8
  !