Skip to content

Commit ac1d477

Browse files
committed
Unpress held keys on shutdown
1 parent d158c2f commit ac1d477

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/Canvas.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,9 +196,9 @@ public void mouseDragged(MouseEvent e) {
196196
}
197197

198198
if (last != -1 && pass[0] && pass[1] && pass[2] && pass[3]) {
199+
Shortcuts.unpressAll();
199200
System.exit(0);
200201
}
201-
202202
}
203203
repaint();
204204
}

0 commit comments

Comments
 (0)