Etoys: Morphic-kfr.106.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Etoys: Morphic-kfr.106.mcz

commits-2
Karl Ramberg uploaded a new version of Morphic to project Etoys:
http://source.squeak.org/etoys/Morphic-kfr.106.mcz

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

Name: Morphic-kfr.106
Author: kfr
Time: 13 May 2013, 6:19:27 pm
UUID: 69482c11-9b78-2b42-a7e7-6f58f3442d54
Ancestors: Morphic-kfr.105

Inserts multiple scaled objects into a holder causes them to scale further

http://tracker.squeakland.org/browse/SQ-935
http://tracker.squeakland.org/browse/SQ-628

The detentBy... should only be used when changing that value interactively (using the halo), not when doing it programmatically.

Halo  scaling does not use extent: directly, it uses scaleToMatch wich sends detentBy...

=============== Diff against Morphic-kfr.105 ===============

Item was changed:
  ----- Method: TransformationMorph>>extent: (in category 'geometry') -----
  extent: newExtent
  | scaleFactor |
  self adjustAfter:
  [scaleFactor _ (self scale * newExtent r / self fullBounds extent r) max: 0.1.
+ self scale: scaleFactor]!
- self scale: (scaleFactor detentBy: 0.1 atMultiplesOf: 1.0 snap: false)]!

_______________________________________________
etoys-dev mailing list
[hidden email]
http://lists.squeakland.org/mailman/listinfo/etoys-dev