🗑️[remove] Model : IS_CONFIG_WINDOW_COMPACT_MODE周りの処理を削除
This commit is contained in:
@@ -1173,7 +1173,6 @@ class Config:
|
||||
self._ENABLE_SPEAKER2CHATBOX_PASS = "000000000"
|
||||
self._ENABLE_LOGGER = False
|
||||
self._ENABLE_VRC_MIC_MUTE_SYNC = False
|
||||
self._IS_CONFIG_WINDOW_COMPACT_MODE = False
|
||||
|
||||
def load_config(self):
|
||||
if os_path.isfile(self.PATH_CONFIG) is not False:
|
||||
|
||||
@@ -630,21 +630,6 @@ def callbackCloseConfigWindow(data, action, *args, **kwargs) -> dict:
|
||||
startThreadingTranscriptionReceiveMessageOnCloseConfigWindow(action)
|
||||
return {"status":200, "result":True}
|
||||
|
||||
# Compact Mode Switch
|
||||
def callbackEnableConfigWindowCompactMode(*args, **kwargs) -> dict:
|
||||
printLog("Enable Config Window Compact Mode")
|
||||
config.IS_CONFIG_WINDOW_COMPACT_MODE = True
|
||||
model.stopCheckMicEnergy()
|
||||
model.stopCheckSpeakerEnergy()
|
||||
return {"status":200, "result":config.IS_CONFIG_WINDOW_COMPACT_MODE}
|
||||
|
||||
def callbackDisableConfigWindowCompactMode(*args, **kwargs) -> dict:
|
||||
printLog("Disable Config Window Compact Mode")
|
||||
config.IS_CONFIG_WINDOW_COMPACT_MODE = False
|
||||
model.stopCheckMicEnergy()
|
||||
model.stopCheckSpeakerEnergy()
|
||||
return {"status":200, "result":config.IS_CONFIG_WINDOW_COMPACT_MODE}
|
||||
|
||||
# Appearance Tab
|
||||
def callbackSetTransparency(data, *args, **kwargs) -> dict:
|
||||
printLog("Set Transparency", data)
|
||||
|
||||
@@ -83,7 +83,6 @@ config_mapping = {
|
||||
"/config/enable_send_received_message_to_vrc": "ENABLE_SEND_RECEIVED_MESSAGE_TO_VRC",
|
||||
"/config/enable_logger": "ENABLE_LOGGER",
|
||||
"/config/enable_vrc_mic_mute_sync": "ENABLE_VRC_MIC_MUTE_SYNC",
|
||||
"/config/is_config_window_compact_mode": "IS_CONFIG_WINDOW_COMPACT_MODE",
|
||||
}
|
||||
|
||||
controller_mapping = {
|
||||
|
||||
Reference in New Issue
Block a user