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

commits-2
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@8 corner: 10@12) outsetBy: delta]
+ ifFalse: [delta]).
+
+ !
- self changed.
- self shadowOffset: newPoint - self center // 5.
- fullBounds ifNotNil:[fullBounds := self privateFullBounds].
- self changed.!