[squeak-dev] The Trunk: Morphic-ct.2056.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Nov 25 20:50:34 UTC 2022


Christoph Thiede uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-ct.2056.mcz

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

Name: Morphic-ct.2056
Author: ct
Time: 25 November 2022, 9:50:29.694279 pm
UUID: 530972e6-066d-574c-9b6e-fabcddee4403
Ancestors: Morphic-ct.2055

refactor: Uses existing magic number selectors for MouseButtonEvent>>*buttonChanged.

=============== Diff against Morphic-ct.2055 ===============

Item was changed:
  ----- Method: MouseButtonEvent>>blueButtonChanged (in category 'accessing') -----
  blueButtonChanged
  	"Answer true if the blue mouse button has changed. This is the third mouse button or cmd+click on the Mac."
  
+ 	^ whichButton anyMask: self class blueButton!
- 	^ whichButton anyMask: 1!

Item was changed:
  ----- Method: MouseButtonEvent>>redButtonChanged (in category 'accessing') -----
  redButtonChanged
  	"Answer true if the red mouse button has changed. This is the first mouse button."
  
+ 	^ whichButton anyMask: self class redButton!
- 	^ whichButton anyMask: 4!

Item was changed:
  ----- Method: MouseButtonEvent>>yellowButtonChanged (in category 'accessing') -----
  yellowButtonChanged
  	"Answer true if the yellow mouse button has changed. This is the second mouse button or option+click on the Mac."
  
+ 	^ whichButton anyMask: self class yellowButton!
- 	^ whichButton anyMask: 2!



More information about the Squeak-dev mailing list