[Cuis-dev] mouseMove:localPosition:

Hilaire Fernandes hilaire at drgeo.eu
Mon Feb 1 12:42:54 PST 2021


I observed that at the first message sent, the deltaVector argument is 
the delta between the hand position and the morph position. I don't 
think this is right. If unknow the delta should be 0 at 0.

Le 01/02/2021 à 16:36, Hilaire Fernandes a écrit :
>
> When the message mouseMove:localPosition: is initially sent to a given 
> morph, its second argument does not have the expected value.
>
> Indeed, when I press the morph and move about one pixel horizontally, 
> this argument can be as large as 71 at 7, then in the subsequent sent 
> messages, this argument really looks like a delta move.
>
> Morph>>mouseMove: evt localPosition: deltaVector

-- 
GNU Dr. Geo
http://drgeo.eu
http://blog.drgeo.eu

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20210201/9fd3fafd/attachment.htm>


More information about the Cuis-dev mailing list