Platform/Event: Change mouse absolute position from unsigned to signed

Fixes cases where mouse is out of the window by either up or left sides
This commit is contained in:
Lynix
2019-03-06 21:17:01 +01:00
parent 5343b581ad
commit 90609476e9

View File

@@ -36,8 +36,8 @@ namespace Nz
struct MouseButtonEvent struct MouseButtonEvent
{ {
Mouse::Button button; Mouse::Button button;
unsigned int x; int x;
unsigned int y; int y;
}; };
// Used by: // Used by:
@@ -46,8 +46,8 @@ namespace Nz
{ {
int deltaX; int deltaX;
int deltaY; int deltaY;
unsigned int x; int x;
unsigned int y; int y;
}; };
// Used by: // Used by: