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

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

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

Name: Morphic-mt.1523
Author: mt
Time: 18 September 2019, 10:02:21.217381 am
UUID: 2e9c1a4a-f02c-4ee9-a620-a9d4365806f1
Ancestors: Morphic-mt.1522

Fixes a bug with layouts in transform morphs.

=============== Diff against Morphic-mt.1522 ===============

Item was removed:
- ----- Method: TransformMorph>>extent: (in category 'geometry') -----
- extent: aPoint
- "Change my layout only if I change my extent. See my implementation of #layoutChanged."
-
- (bounds extent closeTo: aPoint) ifTrue: [^ self].
- super extent: aPoint.
- super layoutChanged.!

Item was changed:
  ----- Method: TransformMorph>>layoutBounds (in category 'layout') -----
  layoutBounds
+ "Ignore scaling and offset but move to local origin for my children as reference point."
+
+ ^ super layoutBounds translateBy: self topLeft negated!
-
- ^ (transform globalBoundsToLocal: super layoutBounds) truncated
- !