[etoys-dev] Etoys: MorphicExtras-kfr.68.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Mar 21 17:49:04 EDT 2012


Karl Ramberg uploaded a new version of MorphicExtras to project Etoys:
http://source.squeak.org/etoys/MorphicExtras-kfr.68.mcz

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

Name: MorphicExtras-kfr.68
Author: kfr
Time: 21 March 2012, 10:48:28 pm
UUID: 8492a2ea-c947-7f47-9790-0db875417600
Ancestors: MorphicExtras-kfr.67

Extent had wrong ratio applied

=============== Diff against MorphicExtras-kfr.67 ===============

Item was changed:
  ----- Method: SectorMorph>>extent: (in category 'accessing') -----
  extent: newExtent 
+ 	| amount |
+ 	amount := (self width - self radius / self radius) + 1. 
+ 	self radius: (newExtent x max: newExtent y) / amount
+ !
- 	self radius: (newExtent x max: newExtent y)
- 			/ 2!



More information about the etoys-dev mailing list