Fix low framerate by lowering timeout time.

This commit is contained in:
Rames The Generic committed 2024-10-22 19:21:58 -04:00
1 parent 1cba6d3bea
commit ce1a063bda
1 file changed
+1 -1
+1 -1
View File
@@ -232,7 +232,7 @@ def main():
# GUI Render loop
while True:
# First off, check for any events from the GUI
event, values = window.read(timeout=30)
event, values = window.read(timeout=1)
# If we're in either mode and someone hits q, quit immediately
if event in ("Exit", sg.WIN_CLOSED):