[squeak-dev] The Trunk: Morphic-mt.1399.mcz
commits at source.squeak.org
commits at source.squeak.org
Wed Feb 21 07:30:28 UTC 2018
Marcel Taeumel uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-mt.1399.mcz
==================== Summary ====================
Name: Morphic-mt.1399
Author: mt
Time: 21 February 2018, 8:30:20.139447 am
UUID: 255b694a-28f2-4d77-94e0-6eccbc80f8d3
Ancestors: Morphic-mt.1398
Fixes the use of #shadowPoint: such as via the halo control menu to configure drop shadows of morphs.
=============== Diff against Morphic-mt.1398 ===============
Item was changed:
----- Method: Morph>>shadowPoint: (in category 'drop shadows') -----
shadowPoint: newPoint
+ "Can be reset in #addDropShadow."
+
+ | delta |
+ delta := newPoint - self center.
+ self shadowOffset: (self useSoftDropShadow
+ ifTrue: [(10 at 8 corner: 10 at 12) outsetBy: delta]
+ ifFalse: [delta]).
+
+ !
- self changed.
- self shadowOffset: newPoint - self center // 5.
- fullBounds ifNotNil:[fullBounds := self privateFullBounds].
- self changed.!
More information about the Squeak-dev
mailing list
|