From 50d1887feda47662db2836e112718dc802363f25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=B5=E3=81=81?= Date: Thu, 24 Aug 2023 20:52:56 +0900 Subject: [PATCH] update MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: ふぁ --- DMMGamePlayerFastLauncher/component/component.py | 5 +++++ DMMGamePlayerFastLauncher/lib/toast.py | 1 + 2 files changed, 6 insertions(+) diff --git a/DMMGamePlayerFastLauncher/component/component.py b/DMMGamePlayerFastLauncher/component/component.py index 540b623..3a155d0 100644 --- a/DMMGamePlayerFastLauncher/component/component.py +++ b/DMMGamePlayerFastLauncher/component/component.py @@ -247,6 +247,11 @@ def __init__(self, master: Misc, now: int = 0, max: int = 1): super().__init__(master) self.geometry("300x100") self.progress = CTkProgressBar(self, width=300) + + self.deiconify() + self.lift() + self.focus_force() + self.now = now self.max = max diff --git a/DMMGamePlayerFastLauncher/lib/toast.py b/DMMGamePlayerFastLauncher/lib/toast.py index a2d57e7..5a4a6fd 100644 --- a/DMMGamePlayerFastLauncher/lib/toast.py +++ b/DMMGamePlayerFastLauncher/lib/toast.py @@ -102,6 +102,7 @@ def __init__(self, master, text: str, trace: str, quit: bool = False): self.text = text self.trace = trace self.geometry("600x300") + self.deiconify() self.lift() self.focus_force()