doh, clamping to width instead of height
This commit is contained in:
parent
10b03d418f
commit
55544a36f3
|
@ -329,7 +329,7 @@ public class Mouse {
|
|||
if (y < 0) {
|
||||
y = 0;
|
||||
} else if (y > Window.getHeight()) {
|
||||
y = Window.getWidth();
|
||||
y = Window.getHeight();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue