Skip to content

Commit d9f2063

Browse files
author
tstephenscr
committedApr 11, 2024
Fixed issue where holding down the mouse button caused boxes to freak out
1 parent ab2205b commit d9f2063

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/display.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -222,9 +222,9 @@ def update(self):
222222

223223

224224
def updateWidgets(event):
225+
delayBox.update(event)
226+
sizeBox.update(event)
225227
if event.type == pygame.MOUSEBUTTONDOWN:
226-
sizeBox.update(event)
227-
delayBox.update(event)
228228
algorithmBox.update()
229229
if do_sorting:
230230
stopButton.update()

0 commit comments

Comments
 (0)
Failed to load comments.