April 2, 2016
3:33 p.m.
There is no layout strategy yet to put halos in the corners. Yellow circle ideally must be in the right bottom corner. Try to inspect and send extent: to an element you want to resize On Apr 2, 2016 4:45 PM, "stepharo" <stepharo@free.fr> wrote:
Hi
I created a simple morph and when I try to grab it using the yellow halo I get this message self assert: anElement isInWorld.
draggedElement: anElement
self assert: anElement isNotNil. self assert: anElement isInWorld.
"compute distance from hand's position in global coordinates" self targetOffset: (anElement globalPosition - self globalPosition). self privateDraggedElement: anElement.
anElement position: (self globalPointToLocal: self targetOffset + self globalPosition)
Stef