From 1b5515cc95d66ac368aae19f2747911ec6fcb4f9 Mon Sep 17 00:00:00 2001 From: Sakamoto Shiina <68018796+ShiinaSakamoto@users.noreply.github.com> Date: Fri, 13 Oct 2023 14:56:23 +0900 Subject: [PATCH] =?UTF-8?q?[bugfix]=20Main=20Window:=20=E3=82=B5=E3=82=A4?= =?UTF-8?q?=E3=83=89=E3=83=90=E3=83=BC=E3=82=B3=E3=83=B3=E3=83=91=E3=82=AF?= =?UTF-8?q?=E3=83=88=E3=83=A2=E3=83=BC=E3=83=89=E3=81=AB=E3=81=97=E3=81=A6?= =?UTF-8?q?=E3=80=81VRCT=E3=82=92=E7=B5=82=E4=BA=86=E3=81=97=E3=80=81?= =?UTF-8?q?=E6=AC=A1=E5=9B=9E=E8=B5=B7=E5=8B=95=E6=99=82=E3=81=AB=E3=82=B3?= =?UTF-8?q?=E3=83=B3=E3=83=91=E3=82=AF=E3=83=88=E3=83=A2=E3=83=BC=E3=83=89?= =?UTF-8?q?=E3=81=A7=E3=81=AEroot=20geometry=E8=A8=88=E7=AE=97=E3=81=AB?= =?UTF-8?q?=E3=81=AA=E3=82=8B=E3=81=9F=E3=82=81Window=E3=81=8C=E5=B0=8F?= =?UTF-8?q?=E3=81=95=E3=81=8F=E3=81=AA=E3=82=8B=E3=81=AE=E3=82=92=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- view.py | 5 ----- vrct_gui/vrct_gui.py | 2 ++ 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/view.py b/view.py index 49f05428..76d79047 100644 --- a/view.py +++ b/view.py @@ -446,11 +446,6 @@ class View(): self.view_variable.CALLBACK_SET_OSC_PORT = config_window_registers.get("callback_set_osc_port", None) # The initial processing after registration. - - if config.IS_MAIN_WINDOW_SIDEBAR_COMPACT_MODE is True: - vrct_gui._enableMainWindowSidebarCompactMode() - - if config.IS_CONFIG_WINDOW_COMPACT_MODE is True: self.enableConfigWindowCompactMode() vrct_gui.config_window.setting_box_compact_mode_switch_box.select() diff --git a/vrct_gui/vrct_gui.py b/vrct_gui/vrct_gui.py index 3b0ce31f..38335495 100644 --- a/vrct_gui/vrct_gui.py +++ b/vrct_gui/vrct_gui.py @@ -46,6 +46,8 @@ class VRCT_GUI(CTk): self.attributes("-alpha", 0) self.deiconify() setGeometryToCenterOfScreen(root_widget=self) + if self._view_variable.IS_MAIN_WINDOW_SIDEBAR_COMPACT_MODE is True: + self._enableMainWindowSidebarCompactMode() fadeInAnimation(self, steps=5, interval=0.008) def _createGUI(self, settings, view_variable):