[bugfix] Config Window: 設定項目変更時に、黒カバーが前に出てきてしまうのを無理やり修正。
テキストボックス上部、ステータス変更関数setStateOverlaySmallLogとsetStateVrcMicMuteSync実行時。
This commit is contained in:
4
view.py
4
view.py
@@ -1307,6 +1307,8 @@ class View():
|
|||||||
self.view_variable.VAR_VRC_MIC_MUTE_SYNC_STATE.set(i18n.t("main_window.state_text_disabled"))
|
self.view_variable.VAR_VRC_MIC_MUTE_SYNC_STATE.set(i18n.t("main_window.state_text_disabled"))
|
||||||
vrct_gui.vrc_mic_mute_sync_settings_state_label.configure(text_color=self.settings.main.ctm.TOP_BAR_BUTTON_STATE_TEXT_DISABLED_COLOR)
|
vrct_gui.vrc_mic_mute_sync_settings_state_label.configure(text_color=self.settings.main.ctm.TOP_BAR_BUTTON_STATE_TEXT_DISABLED_COLOR)
|
||||||
|
|
||||||
|
vrct_gui.config_window.after(200, vrct_gui.config_window.lift)
|
||||||
|
|
||||||
def setStateOverlaySmallLog(self, state:str):
|
def setStateOverlaySmallLog(self, state:str):
|
||||||
if state == "enabled":
|
if state == "enabled":
|
||||||
self.view_variable.VAR_OVERLAY_SMALL_LOG_STATE.set(i18n.t("main_window.state_text_enabled"))
|
self.view_variable.VAR_OVERLAY_SMALL_LOG_STATE.set(i18n.t("main_window.state_text_enabled"))
|
||||||
@@ -1315,6 +1317,8 @@ class View():
|
|||||||
self.view_variable.VAR_OVERLAY_SMALL_LOG_STATE.set(i18n.t("main_window.state_text_disabled"))
|
self.view_variable.VAR_OVERLAY_SMALL_LOG_STATE.set(i18n.t("main_window.state_text_disabled"))
|
||||||
vrct_gui.overlay_settings_state_label.configure(text_color=self.settings.main.ctm.TOP_BAR_BUTTON_STATE_TEXT_DISABLED_COLOR)
|
vrct_gui.overlay_settings_state_label.configure(text_color=self.settings.main.ctm.TOP_BAR_BUTTON_STATE_TEXT_DISABLED_COLOR)
|
||||||
|
|
||||||
|
vrct_gui.config_window.after(200, vrct_gui.config_window.lift)
|
||||||
|
|
||||||
|
|
||||||
# Config Window
|
# Config Window
|
||||||
def enableConfigWindowCompactMode(self):
|
def enableConfigWindowCompactMode(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user