Change sleep time for redraw
This commit is contained in:
parent
9e0b49cea8
commit
601c81fbaa
@ -99,7 +99,7 @@ public abstract class DoubleBufferedCanvas extends Canvas implements MouseListen
|
||||
while (keepRunning) {
|
||||
update();
|
||||
try {
|
||||
Thread.sleep(100);
|
||||
Thread.sleep(25);
|
||||
} catch (InterruptedException ex) {}
|
||||
repaint();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user