[squeak-dev] The Trunk: Morphic-mt.1782.mcz
commits at source.squeak.org
commits at source.squeak.org
Wed Oct 6 09:01:04 UTC 2021
Marcel Taeumel uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-mt.1782.mcz
==================== Summary ====================
Name: Morphic-mt.1782
Author: mt
Time: 6 October 2021, 11:00:59.501367 am
UUID: 917d7198-f778-8d40-94ef-8a0d6a48186c
Ancestors: Morphic-mt.1781
Fixes regression in grip resizing.
=============== Diff against Morphic-mt.1781 ===============
Item was changed:
----- Method: BottomLeftGripMorph>>apply: (in category 'target resize') -----
apply: delta
| oldBounds |
oldBounds := self target bounds.
self target
bounds: (oldBounds origin + (delta x @ 0) corner: oldBounds corner + (0 @ delta y)).
self flag: #workaround. "mt: Due to a layout-specific 'let us start in the top-left corner of a layout cell'-behavior, we have to go up the owner chain and propagate the delta. See Morph >> #layoutInBounds:positioning: and there section 1.2."
self target allOwnersDo:
[:anOwner |
(anOwner layoutPolicy notNil and: [anOwner ~~ Project current world])
+ ifTrue: [anOwner left: anOwner left + delta x]].!
- ifTrue: [anOwner left: owner left + delta x]].!
More information about the Squeak-dev
mailing list
|