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

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

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

Name: Morphic-mt.1343
Author: mt
Time: 30 June 2017, 2:05:06.118892 pm
UUID: c3749c89-0329-0843-ac12-7c6f3aba1dc1
Ancestors: Morphic-mt.1342

Small fix for showing a morph's halo directly after its world's halo got activated.

=============== Diff against Morphic-mt.1342 ===============

Item was changed:
  ----- Method: SimpleHaloMorph>>transferHalo:from: (in category 'halos and balloon help') -----
  transferHalo: event from: formerHaloOwner
+ "If my world tries to open on me, pass it on to the next sibling after me."
+
+ formerHaloOwner == self world ifTrue: [
+ self world submorphsDo: [:m |
+ (m ~~ self and: [m fullContainsPoint: event position]) ifTrue: [
+ m comeToFront.
+ ^ m transferHalo: event from: formerHaloOwner]]].!
- "Ignore. No halo for halo."!