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

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

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

Name: Morphic-mt.814
Author: mt
Time: 3 April 2015, 9:17:18.474 am
UUID: 51d4bcce-e73b-174d-a661-68f0d73c6183
Ancestors: Morphic-mt.813

Fixed hovered-row state in lists when losing keyboard focus, e.g., when invoking a context menu. Otherwise this may be confusing if the current selection is not updated but the hovered row still indicated.

=============== Diff against Morphic-mt.813 ===============

Item was changed:
  ----- Method: PluggableListMorph>>keyboardFocusChange: (in category 'event handling') -----
  keyboardFocusChange: aBoolean
  "The message is sent to a morph when its keyboard focus changes.
  The given argument indicates that the receiver is gaining (versus losing) the keyboard focus.
  In this case, all we need to do is to redraw border feedback"
+ aBoolean ifFalse: [
+ self hoverRow: nil.
+ self class clearFilterAutomatically ifTrue:
- aBoolean ifFalse:
- [ self class clearFilterAutomatically ifTrue:
  [ self hasFilter ifTrue:
  [ self
  removeFilter ;
  updateList ] ] ].
  (self innerBounds areasOutside: (self innerBounds insetBy: 1)) do:
  [ : rect | self invalidRect: rect ]!