🐛[bugfix] Model : 一部実装漏れを修正

- translation成功時に文字列が帰ってることを検証する処理に変更
- ミュート同期ボタンON/OFF時にマイク文字起こしの状態を変更する処理を追加
This commit is contained in:
misyaguziya committed 2024-05-18 20:57:29 +09:00
1 parent 67ba3f62e2
commit e38987d916
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -938,6 +938,7 @@ def callbackSetEnableVrcMicMuteSync(value):
else:
model.stopCheckMuteSelfStatus()
view.setStateVrcMicMuteSync("disabled")
model.changeMicTranscriptStatus()
def callbackSetEnableSendMessageToVrc(value):
+1 -1
View File
@@ -179,7 +179,7 @@ class Model:
)
# 翻訳失敗時のフェールセーフ処理
if translation is True:
if isinstance(translation, str):
success_flag = True
else:
while True: