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

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

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

Name: Morphic-mt.1226
Author: mt
Time: 3 August 2016, 2:16:23.039041 pm
UUID: 2258c988-1152-4940-9a2b-a95241a3e1d3
Ancestors: Morphic-mt.1225

Fixes retractable scroll bars, which did not work properly of mouseOverForKeyboardFocus was disabled. Note that #hasFocus is ancient and not needed anymore for controlling keyboard focus here. See also #hIsScrollbarNeeded and #vIsScrollbarNeeded and maybe other senders of #hasFocus.

=============== Diff against Morphic-mt.1225 ===============

Item was changed:
  ----- Method: ScrollPane>>mouseEnter: (in category 'event handling') -----
  mouseEnter: event
+ hasFocus := true.
- Preferences mouseOverForKeyboardFocus ifTrue: [hasFocus := true].
  owner isSystemWindow ifTrue: [owner paneTransition: event].
  retractableScrollBar ifTrue: [self hideOrShowScrollBars].!

Item was changed:
  ----- Method: ScrollPane>>mouseLeave: (in category 'event handling') -----
  mouseLeave: event
+ hasFocus := false.
- Preferences mouseOverForKeyboardFocus ifTrue: [hasFocus := false].
  retractableScrollBar ifTrue: [self hideScrollBars].
  owner isSystemWindow ifTrue: [owner paneTransition: event].!