[etoys-dev] Etoys: Morphic-kfr.106.mcz

commits at source.squeak.org commits at source.squeak.org
Mon May 13 12:20:45 EDT 2013


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)]!



More information about the etoys-dev mailing list