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

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

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

Name: Morphic-mt.1682
Author: mt
Time: 17 September 2020, 1:11:51.011573 pm
UUID: af1dbefd-44de-e849-b99d-a8d62204a9fc
Ancestors: Morphic-dtl.1681

Fixes come-to-front bug in dialog windows. No behaves like system windows do.

=============== Diff against Morphic-dtl.1681 ===============

Item was added:
+ ----- Method: DialogWindow>>handleMouseDown: (in category 'events') -----
+ handleMouseDown: event
+ "Always bring me to the front since I am modal"
+
+ self comeToFront.
+ ^ super handleMouseDown: event!

Item was changed:
  ----- Method: DialogWindow>>mouseDown: (in category 'events') -----
  mouseDown: event
 
  self stopAutoTrigger.
-
- "Always bring me to the front since I am modal"
- self comeToFront.
 
  (self containsPoint: event position) ifFalse: [
  ^ self autoCancel
  ifTrue: [self cancelDialog]
  ifFalse: [self flash]].
 
  event hand
  waitForClicksOrDrag: self
  event: event
  selectors: { nil. nil. nil. #startDrag: }
  threshold: HandMorph dragThreshold.!