Made loop run more frequently

This commit is contained in:
PySimpleGUI 2019-11-29 22:07:47 -05:00
parent b74ec7126c
commit 5a966a28fa
1 changed files with 1 additions and 1 deletions

View File

@ -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'):