[Pkg] The Trunk: Morphic-mt.1441.mcz

commits at source.squeak.org commits at source.squeak.org
Thu May 24 12:48:39 UTC 2018


Marcel Taeumel uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-mt.1441.mcz

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

Name: Morphic-mt.1441
Author: mt
Time: 24 May 2018, 2:48:19.787531 pm
UUID: 16a6682f-5da5-407a-ac82-981ffdd5d6ac
Ancestors: Morphic-mt.1440

Harmonize list widgets and tree widgets a little bit more. That is, let trees trigger the yellow-button menu on [escape] like lists do.

=============== Diff against Morphic-mt.1440 ===============

Item was changed:
  ----- Method: SimpleHierarchicalListMorph>>specialKeyPressed: (in category 'event handling') -----
  specialKeyPressed: asciiValue
  
+ 	(self arrowKey: asciiValue)
+ 		ifTrue: [^ true].
+ 		
+ 	asciiValue = 27 "escape"
+ 		ifTrue: [
+ 			ActiveEvent shiftPressed
+ 				ifTrue: [ActiveWorld putUpWorldMenuFromEscapeKey]
+ 				ifFalse: [self yellowButtonActivity: false].
+ 			^ true].
+ 	
+ 	^ false!
- 	^ self arrowKey: asciiValue!



More information about the Packages mailing list