✨ Added tab functionality and optimized related configurations
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 交换源语言和目标语言
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user