Skip to content

Commit ce1a063

Browse files
Fix low framerate by lowering timeout time.
1 parent 1cba6d3 commit ce1a063

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

BabbleApp/babbleapp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ def main():
232232
# GUI Render loop
233233
while True:
234234
# First off, check for any events from the GUI
235-
event, values = window.read(timeout=30)
235+
event, values = window.read(timeout=1)
236236

237237
# If we're in either mode and someone hits q, quit immediately
238238
if event in ("Exit", sg.WIN_CLOSED):

0 commit comments

Comments
 (0)