[Update] Config Window: Add VR Tab. Add Item, Enable OpenVR Switch.
This commit is contained in:
@@ -858,6 +858,11 @@ def callbackSetWhisperWeightType(value):
|
||||
config.SELECTED_TRANSCRIPTION_ENGINE = "Google"
|
||||
view.showRestartButtonIfRequired()
|
||||
|
||||
# VR Tab
|
||||
def callbackSetEnableOverlayUi(value):
|
||||
print("callbackSetEnableOverlayUi", value)
|
||||
config.ENABLE_NOTICE_OVERLAY = value
|
||||
|
||||
# Others Tab
|
||||
def callbackSetEnableAutoClearMessageBox(value):
|
||||
print("callbackSetEnableAutoClearMessageBox", value)
|
||||
@@ -1098,6 +1103,9 @@ def createMainWindow(splash):
|
||||
"callback_set_use_whisper_feature": callbackSetUserWhisperFeature,
|
||||
"callback_set_whisper_weight_type": callbackSetWhisperWeightType,
|
||||
|
||||
# VR Tab
|
||||
"callback_set_enable_overlay_ui": callbackSetEnableOverlayUi,
|
||||
|
||||
# Others Tab
|
||||
"callback_set_enable_auto_clear_chatbox": callbackSetEnableAutoClearMessageBox,
|
||||
"callback_set_send_only_translated_messages": callbackSetEnableSendOnlyTranslatedMessages,
|
||||
|
||||
Reference in New Issue
Block a user