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:
parent
5343b581ad
commit
90609476e9
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue