Skip to content

Commit

Permalink
Update Mouse.java
Browse files Browse the repository at this point in the history
  • Loading branch information
artdeell authored Nov 19, 2024
1 parent 4d28f99 commit 584387b
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -356,8 +356,7 @@ public static void poll() {
absolute_x = x = poll_coord1;
absolute_y = y = poll_coord2;
}
System.out.println("dx: " + dx + " dy: " + dy + " x: "+ x +" y: " + y+" grabbed: "+isGrabbed() +" pc1: "+poll_coord1+" pc2: "+poll_coord2);


if(clipMouseCoordinatesToWindow) {
x = Math.min(Display.getWidth() - 1, Math.max(0, x));
y = Math.min(Display.getHeight() - 1, Math.max(0, y));
Expand Down

0 comments on commit 584387b

Please sign in to comment.