[Etoys] Circles and Ellipses with embeded objects

Karl karl.ramberg at comhem.se
Mon Oct 29 13:38:50 EDT 2007


antonio wrote:
> Hello
>
> Actually when you rotate an EllipseMorph instance with another object 
> embeded, then this object -the second one-  also rotate, but when you 
> rotate a CircleMorph instance with another object embeded, the second 
> one do not rotate solidarity.
Here is a fix

Karl
-------------- next part --------------
'From etoys2.2 of 22 September 2007 [latest update: #1731] on 29 October 2007 at 6:37:23 pm'!

!CircleMorph methodsFor: 'rotate scale and flex' stamp: 'kfr 10/29/2007 18:36'!
addFlexShellIfNecessary
	"When scaling or rotating from a halo, I can do this without a flex shell"

	submorphs ifEmpty:[^self].
	super  addFlexShellIfNecessary ! !


More information about the etoys-dev mailing list