quick fixes, should fix signature error
when compiling, i get this error: FATAL ERROR : Invalid signature for function lime@hl_mouse_event_manager_register : PP_vOiiddiidd__v required but PP_vOiddiidd__v found in hdll This should fix it
This commit is contained in:
@@ -613,7 +613,7 @@ class HTML5Window
|
||||
Browser.window.addEventListener("mouseup", handleMouseEvent);
|
||||
}
|
||||
|
||||
parent.onMouseDown.dispatch(x, y, event.button);
|
||||
parent.onMouseDown.dispatch(x, y, event.button, event.detail);
|
||||
|
||||
if (parent.onMouseDown.canceled && event.cancelable)
|
||||
{
|
||||
@@ -650,7 +650,7 @@ class HTML5Window
|
||||
event.stopPropagation();
|
||||
}
|
||||
|
||||
parent.onMouseUp.dispatch(x, y, event.button);
|
||||
parent.onMouseUp.dispatch(x, y, event.button, event.detail);
|
||||
|
||||
if (parent.onMouseUp.canceled && event.cancelable)
|
||||
{
|
||||
|
||||
@@ -802,7 +802,7 @@ class NativeApplication
|
||||
|
||||
public function clone():MouseEventInfo
|
||||
{
|
||||
return new MouseEventInfo(type, windowID, x, y, button, movementX, movementY);
|
||||
return new MouseEventInfo(type, windowID, x, y, button, movementX, movementY, clickCount);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user