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:
Robert Osfield 2007-01-11 14:53:34 +00:00
parent 374f8e30a4
commit ab2d9520a6

View File

@ -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);
}
}