🗑️[remove] Model : XSOverlay の機能を削除

This commit is contained in:
misyaguziya
2024-09-12 13:29:13 +09:00
parent 394daac730
commit 437d9eb644
4 changed files with 1 additions and 95 deletions

View File

@@ -158,10 +158,6 @@ def receiveSpeakerMessage(message):
changeToCTranslate2Process()
if config.ENABLE_TRANSCRIPTION_RECEIVE is True:
if config.ENABLE_NOTICE_XSOVERLAY is True:
xsoverlay_message = messageFormatter("RECEIVED", translation, message)
model.notificationXSOverlay(xsoverlay_message)
if config.ENABLE_OVERLAY_SMALL_LOG is True:
if model.overlay.initialized is True:
overlay_image = model.createOverlayImageShort(message, translation)
@@ -917,8 +913,7 @@ def callbackSetSendMessageButtonType(value):
view.changeMainWindowSendMessageButton(config.SEND_MESSAGE_BUTTON_TYPE)
def callbackSetEnableNoticeXsoverlay(value):
print("callbackSetEnableNoticeXsoverlay", value)
config.ENABLE_NOTICE_XSOVERLAY = value
pass
def callbackSetEnableAutoExportMessageLogs(value):
print("callbackSetEnableAutoExportMessageLogs", value)