Fix clicking on clock every X times

This commit is contained in:
2024-08-05 20:50:03 +02:00
parent b038098c3c
commit 48f12a1640
5 changed files with 52 additions and 16 deletions

View File

@@ -67,7 +67,7 @@ public class MainWindow
CursorMoveListener cursorMoveListener = new CursorMoveListener();
TIMER_RUNNER.schedule(cursorMoveListener, 0L, 1000L);
cursorMover = new CursorMover(RunnerUtil.SCREEN_WIDTH, RunnerUtil.SCREEN_HEIGHT);
cursorMover = new CursorMover();
TIMER_RUNNER.schedule(cursorMover, 1000L, RunnerUtil.SECONDS_BETWEEN_MOVES * 1000L);
button.setLabel("Stop");