[Cuis] mouseButton2Up:localPosition:

Dan Norton dnorton at mindspring.com
Thu Apr 23 18:13:40 CDT 2015


On 19 Apr 2015 at 12:16, Dan Norton wrote:
> In the message:
>     mouseButton2Up: aMouseButtonEvent localPosition:
> localEventPosition
> 
> the parameter 'localEventPosition' is a point in a
> PasteUpMorph(hash) [world] instead of being 
> relative to the morph where the click was done.

The above method was employed to show a pop-up menu which appeared relative to World 
(incorrect). If #mouseButton2Activity is used instead of the above method, it will appear in the 
right place - relative to the morph where the click was done, instead of relative to World.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jvuletich.org/pipermail/cuis_jvuletich.org/attachments/20150423/761d2749/attachment-0004.html>


More information about the Cuis mailing list