[bloc] yellow halos

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[bloc] yellow halos

stepharo
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

Reply | Threaded
Open this post in threaded view
|

Re: [bloc] yellow halos

Aliaksei Syrel

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" <[hidden email]> 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

Reply | Threaded
Open this post in threaded view
|

Re: [bloc] yellow halos

stepharo

There is no layout strategy yet to put halos in the corners. Yellow circle ideally must be in the right bottom corner.


I do not know but I cannot grab morph and I get DNU.

Stef

Try to inspect and send extent: to an element you want to resize

On Apr 2, 2016 4:45 PM, "stepharo" <[hidden email]> 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


Reply | Threaded
Open this post in threaded view
|

Re: [bloc] yellow halos

Aliaksei Syrel
That was fixed yesterday ;)

Cheers,
Alex

On Sat, Apr 2, 2016 at 7:56 PM, stepharo <[hidden email]> wrote:

There is no layout strategy yet to put halos in the corners. Yellow circle ideally must be in the right bottom corner.


I do not know but I cannot grab morph and I get DNU.

Stef

Try to inspect and send extent: to an element you want to resize

On Apr 2, 2016 4:45 PM, "stepharo" <[hidden email][hidden email]> 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



Reply | Threaded
Open this post in threaded view
|

Re: [bloc] yellow halos

stepharo


Le 2/4/16 20:07, Aliaksei Syrel a écrit :
That was fixed yesterday ;)
Do you mean that you fix it and that it was not in the latest jenkins built?
I do not understand why if it was fixed yesterday I did not get the fix
because I took the latest version today at 4h

Stef


Cheers,
Alex

On Sat, Apr 2, 2016 at 7:56 PM, stepharo <[hidden email]> wrote:

There is no layout strategy yet to put halos in the corners. Yellow circle ideally must be in the right bottom corner.


I do not know but I cannot grab morph and I get DNU.

Stef

Try to inspect and send extent: to an element you want to resize

On Apr 2, 2016 4:45 PM, "stepharo" <[hidden email]> 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