Had timeout=1 which is a terrible idea (it's old code)
This commit is contained in:
parent
8dd2bfcdb0
commit
616ec13c9c
|
@ -80,7 +80,7 @@ def main():
|
|||
|
||||
# ------------------- GUI Event Loop -------------------
|
||||
while True: # Event Loop
|
||||
event, values = window.read(timeout=1)
|
||||
event, values = window.read(timeout=0)
|
||||
# print(event, values)
|
||||
if event in (sg.WIN_CLOSED, 'Exit'):
|
||||
break
|
||||
|
|
Loading…
Reference in New Issue