The Trunk: Morphic-mt.1441.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-mt.1441.mcz

commits-2
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!