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
{
Mouse::Button button;
unsigned int x;
unsigned int y;
int x;
int y;
};
// Used by:
@@ -46,8 +46,8 @@ namespace Nz
{
int deltaX;
int deltaY;
unsigned int x;
unsigned int y;
int x;
int y;
};
// Used by: