mirror of
https://github.com/Project-Babble/ProjectBabble.git
synced 2026-11-20 09:01:16 -08:00
Fix low framerate by lowering timeout time.
This commit is contained in:
1 parent
1cba6d3bea
commit
ce1a063bda
1 file changed
+1
-1
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user