fixed updating of bg_color with set_scaling in CTkBaseClass

This commit is contained in:
Tom Schimansky
2022-06-30 15:53:32 +02:00
parent 8bfd763786
commit c9653e7793
7 changed files with 212 additions and 30 deletions

View File

@ -102,8 +102,12 @@ class CTkInputDialog:
self.running = True
while self.running:
self.top.update()
time.sleep(0.01)
try:
self.top.update()
except Exception:
return self.user_input
finally:
time.sleep(0.01)
time.sleep(0.05)
self.top.destroy()