[Pkg] The Trunk: Morphic-mt.1523.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Sep 18 08:02:32 UTC 2019


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
- !



More information about the Packages mailing list