1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 07:28:21 +08:00

Opt: Use MAIN_GOTO_FLEET instead of MAIN_GOTO_CAMPAIGN for faster switches with info_bar

This commit is contained in:
LmeSzinc
2024-04-20 03:01:32 +08:00
parent 53aef7e992
commit ba47dcce1a

View File

@@ -3,8 +3,6 @@ import traceback
from module.ui.assets import *
from module.raid.assets import *
MAIN_CHECK = MAIN_GOTO_CAMPAIGN
class Page:
# Key: str, page name like "page_main"
@@ -71,6 +69,11 @@ class Page:
self.links[destination] = button
"""
Define UI pages
"""
# Use MAIN_GOTO_FLEET instead of MAIN_GOTO_CAMPAIGN for faster switches with info_bar
MAIN_CHECK = MAIN_GOTO_FLEET
# Main
page_main = Page(MAIN_CHECK)
page_campaign_menu = Page(CAMPAIGN_MENU_CHECK)