update
This commit is contained in:
@@ -36,7 +36,7 @@ export class NavigationPanel extends li_BaseView {
|
||||
NavigationManager.Instance.registerNavigationPanel(this);
|
||||
|
||||
this.registerListener();
|
||||
this.updateButtonStates(PanelType.PAST_GIRL_LIST);
|
||||
this.updateButtonStates(PanelType.THEME);
|
||||
|
||||
// 初次打开时通过NavigationManager切换到主题面板
|
||||
this.initializeFirstPanel();
|
||||
@@ -101,13 +101,15 @@ export class NavigationPanel extends li_BaseView {
|
||||
this.girlDetailBtn.setFocus(
|
||||
this.currentActivePanel === PanelType.GIRL_DETAIL
|
||||
);
|
||||
this.pastGirlListBtn.setFocus(this.currentActivePanel === PanelType.PAST_GIRL_LIST);
|
||||
this.pastGirlListBtn.setFocus(
|
||||
this.currentActivePanel === PanelType.PAST_GIRL_LIST
|
||||
);
|
||||
this.settingBtn.setFocus(this.currentActivePanel === PanelType.PERSONAL);
|
||||
}
|
||||
|
||||
private initializeFirstPanel() {
|
||||
// 初次打开时通过NavigationManager切换到历史女孩列表面板
|
||||
NavigationManager.Instance.switchToPanel(PanelType.PAST_GIRL_LIST, true);
|
||||
NavigationManager.Instance.switchToPanel(PanelType.THEME, true);
|
||||
}
|
||||
|
||||
public showPanel() {
|
||||
|
||||
Reference in New Issue
Block a user