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

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

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

Name: Morphic-mt.826
Author: mt
Time: 6 April 2015, 2:37:06.62 pm
UUID: 0a932bc9-fd3a-9a4e-8f62-cf07d7d3cc5d
Ancestors: Morphic-mt.825

Added drop-shadow-cache invalidation to layout-specific call back where bounds are directly written. *sigh*

=============== Diff against Morphic-mt.825 ===============

Item was changed:
  ----- Method: Morph>>layoutBounds: (in category 'layout') -----
  layoutBounds: aRectangle
  "Set the bounds for laying out children of the receiver.
  Note: written so that #layoutBounds can be changed without touching this method"
  | priorBounds outer inner box |
  priorBounds := self outerBounds.
  outer := self bounds.
  inner := self layoutBounds.
  bounds := aRectangle origin + (outer origin - inner origin) corner:
  aRectangle corner + (outer corner - inner corner).
+ self removeProperty: #dropShadow.
  box := self outerBounds.
  box = priorBounds
  ifFalse: [self invalidRect: (priorBounds quickMerge: box)]!