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:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user