[bugfix] Config Window: 設定項目変更時に、黒カバーが前に出てきてしまうのを無理やり修正。

テキストボックス上部、ステータス変更関数setStateOverlaySmallLogとsetStateVrcMicMuteSync実行時。
This commit is contained in:
Sakamoto Shiina
2024-05-09 07:03:15 +09:00
parent e76d42172d
commit fa87946d4c

View File

@@ -1307,6 +1307,8 @@ class View():
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.config_window.after(200, vrct_gui.config_window.lift)
def setStateOverlaySmallLog(self, state:str):
if state == "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"))
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
def enableConfigWindowCompactMode(self):