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

Ricardo Moran richi.moran at gmail.com
Wed Mar 21 18:03:36 EDT 2012


Hi, I just wanted to note that when the sector is rotated it becomes very
difficult to control its extent now, and it can grow so much that the
"space is low" warning appears.


On Wed, Mar 21, 2012 at 6:48 PM, <commits at source.squeak.org> wrote:

> 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!
>
> _______________________________________________
> etoys-dev mailing list
> etoys-dev at squeakland.org
> http://lists.squeakland.org/mailman/listinfo/etoys-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakland.org/pipermail/etoys-dev/attachments/20120321/67c80c6e/attachment.html>


More information about the etoys-dev mailing list