[bugfix] Main Window: サイドバーコンパクトモードにして、VRCTを終了し、次回起動時にコンパクトモードでのroot geometry計算になるためWindowが小さくなるのを修正。
This commit is contained in:
5
view.py
5
view.py
@@ -446,11 +446,6 @@ class View():
|
|||||||
self.view_variable.CALLBACK_SET_OSC_PORT = config_window_registers.get("callback_set_osc_port", None)
|
self.view_variable.CALLBACK_SET_OSC_PORT = config_window_registers.get("callback_set_osc_port", None)
|
||||||
|
|
||||||
# The initial processing after registration.
|
# 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:
|
if config.IS_CONFIG_WINDOW_COMPACT_MODE is True:
|
||||||
self.enableConfigWindowCompactMode()
|
self.enableConfigWindowCompactMode()
|
||||||
vrct_gui.config_window.setting_box_compact_mode_switch_box.select()
|
vrct_gui.config_window.setting_box_compact_mode_switch_box.select()
|
||||||
|
|||||||
@@ -46,6 +46,8 @@ class VRCT_GUI(CTk):
|
|||||||
self.attributes("-alpha", 0)
|
self.attributes("-alpha", 0)
|
||||||
self.deiconify()
|
self.deiconify()
|
||||||
setGeometryToCenterOfScreen(root_widget=self)
|
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)
|
fadeInAnimation(self, steps=5, interval=0.008)
|
||||||
|
|
||||||
def _createGUI(self, settings, view_variable):
|
def _createGUI(self, settings, view_variable):
|
||||||
|
|||||||
Reference in New Issue
Block a user