You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@royale.apache.org by Carlos Rovira <ca...@apache.org> on 2020/06/29 22:15:04 UTC

MouseDown and MouseUp button are fired with secondary mouse button

Hi,

I found that MouseDown and MouseUp can be fired with the secondary mouse
button.

To avoid it I used this code recently on Jewel SpinnerMouseController

COMPILE::JS
{
if (event.button !== 0)
return;
}

I think we don't really want secondary button do that by default and we all
need to add the previous code in all our handlers right?

what do you think about it? what should we do to prevent it?

Thanks

-- 
Carlos Rovira
http://about.me/carlosrovira