Made loop run more frequently
This commit is contained in:
parent
b74ec7126c
commit
5a966a28fa
|
@ -68,7 +68,7 @@ def the_gui():
|
||||||
|
|
||||||
# --------------------- EVENT LOOP ---------------------
|
# --------------------- EVENT LOOP ---------------------
|
||||||
while True:
|
while True:
|
||||||
event, values = window.read(timeout=400)
|
event, values = window.read(timeout=100)
|
||||||
if event in (None, 'Exit'):
|
if event in (None, 'Exit'):
|
||||||
break
|
break
|
||||||
elif event.startswith('Do'):
|
elif event.startswith('Do'):
|
||||||
|
|
Loading…
Reference in New Issue