1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-04-02 07:14:07 +08:00
This commit is contained in:
LmeSzinc
2026-04-01 22:57:52 +08:00
committed by GitHub
2 changed files with 7 additions and 3 deletions

View File

@@ -526,6 +526,8 @@ class RewardTacticalClass(Dock):
logger.info('Not going to learn skill but in dock, close it')
study_finished = True
self.device.click(BACK_ARROW)
# reset DOCK_CHECK to Timer(3)
self.interval_timer.pop(DOCK_CHECK.name, None)
self.interval_reset([BOOK_EMPTY_POPUP, DOCK_CHECK], interval=3)
continue
if self.appear(SKILL_CONFIRM, offset=(20, 20), interval=3):

View File

@@ -124,6 +124,11 @@ class AlasGUI(Frame):
@use_scope("aside", clear=True)
def set_aside(self) -> None:
# TODO: update put_icon_buttons()
current_date = datetime.now().date()
if current_date.month == 4 and current_date.day == 1:
self.af_flag = True
put_icon_buttons(
Icon.DEVELOP,
buttons=[{"label": t("Gui.Aside.Home"), "value": "Home", "color": "aside"}],
@@ -146,9 +151,6 @@ class AlasGUI(Frame):
onclick=[lambda: go_app("manage", new_window=False)],
)
current_date = datetime.now().date()
if current_date.month == 4 and current_date.day == 1:
self.af_flag = True
@use_scope("aside_instance")
def set_aside_status(self) -> None: