UI scaleを保持するように変更

This commit is contained in:
misyaguziya
2023-06-03 01:57:04 +09:00
parent ba337cc04e
commit d6d675f981

View File

@@ -628,6 +628,9 @@ class App(customtkinter.CTk):
self.wm_attributes("-alpha", TRANSPARENCY/100) self.wm_attributes("-alpha", TRANSPARENCY/100)
new_scaling_float = int(UI_SCALING.replace("%", "")) / 100
customtkinter.set_widget_scaling(new_scaling_float)
def open_config(self): def open_config(self):
if self.config_window is None or not self.config_window.winfo_exists(): if self.config_window is None or not self.config_window.winfo_exists():
self.config_window = ToplevelWindowConfig(self) self.config_window = ToplevelWindowConfig(self)