mirror of
https://github.com/TomSchimansky/CustomTkinter.git
synced 2023-08-10 21:13:13 +03:00
fixed updating of bg_color with set_scaling in CTkBaseClass
This commit is contained in:
@ -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()
|
||||
|
Reference in New Issue
Block a user