Hi,
I encountered a problem with the mouse event listeners, where all the mouse buttons all fire the same event listener
I tried the following snippet of code, compiled with Haxe 4.0.0-rc2 and using Lime 7.3.0
sprite.addEventListener(MouseEvent.MOUSE_DOWN, function(event:MouseEvent):Void
{
sprite.startDrag();
}) ;
sprite.addEventListener(MouseEvent.MOUSE_UP, function(event:MouseEvent):Void
{
sprite.stopDrag();
});
This behavior works correctly for the left mouse button but all other mouse buttons unintentionally demonstrate the same behavior. The same effect occurs with mouseEvent.RIGHT_MOUSE_DOWN and mouseEvent.RIGHT_MOUSE_UP
This is only the case on the hashlink target. On the other targets I tested (Neko and windows) this functions as expected.
If I am missing something obvious here I hope there is a kind soul to point it out, If not, I can file an issue but not completely sure on what steps to take