Fixed the setWindowSize so that it sets the input range to 0,0,width,height rather
than x,y,x+width,y+height as mouse coordinates move relative to the window, not the screens origin.
This commit is contained in:
parent
374f8e30a4
commit
ab2d9520a6
@ -79,7 +79,7 @@ void GUIEventAdapter::setWindowRectangle(int x, int y, int width, int height, bo
|
||||
|
||||
if (updateMouseRange)
|
||||
{
|
||||
setInputRange(x, y, x+width, y+height);
|
||||
setInputRange(0, 0, width, height);
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user