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):