fix
This commit is contained in:
@@ -41,7 +41,9 @@ export class SettingPanel extends li_BaseView {
|
||||
private curLanguage: Label;
|
||||
private languageButtons: LanguageButton[] = [];
|
||||
private currentSelectedLang: LanguageType = null;
|
||||
protected start(): void {
|
||||
protected start(): void {}
|
||||
|
||||
onLoadCT(): void {
|
||||
Utils.parseNode(this.node, this._nodeTab);
|
||||
|
||||
this.initUI();
|
||||
@@ -52,7 +54,6 @@ export class SettingPanel extends li_BaseView {
|
||||
this.languageDrawdown.setScale(new Vec3(1, 0, 1));
|
||||
}
|
||||
}
|
||||
|
||||
onEnable() {
|
||||
this.currentSelectedLang = LanguageUtils.CurrentLanguage;
|
||||
this.updateSelection();
|
||||
|
||||
Reference in New Issue
Block a user