✨ Added tab functionality and optimized related configurations

This commit is contained in:
landaiqing committed 2025-10-04 02:27:32 +08:00
1 parent 2d02bf7f1f
commit 45968cd353
21 files changed
+689 -166

No files matched your search

@@ -285,19 +285,6 @@ export class TranslationTooltip implements TooltipView {
this.translate();
}
/**
* 寻找替代的目标语言
*/
private findAlternativeTargetLanguage(): void {
const options = Array.from(this.targetLangSelector.options);
for (const option of options) {
if (option.value !== this.sourceLangSelector.value) {
this.targetLangSelector.value = option.value;
break;
}
}
}
/**
* 交换源语言和目标语言
*/