Skip to content

Commit

Permalink
bugfix: center the mouse correct
Browse files Browse the repository at this point in the history
  • Loading branch information
cwei committed May 12, 2007
1 parent 9be5353 commit 8388a60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/jake2/sys/JOGLKBD.java
Expand Up @@ -93,8 +93,8 @@ private void HandleEvents()
while (c != null) {
if (c instanceof Container) {
Insets insets = ((Container)c).getInsets();
win_x += insets.left;
win_y += insets.top;
win_x += insets.left / 2;
win_y += insets.top / 2;
}
win_x += c.getX();
win_y += c.getY();
Expand Down

0 comments on commit 8388a60

Please sign in to comment.