mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-19 23:33:33 +08:00
Fix: equip_enter with long_click=False (#2453)
This commit is contained in:
@@ -75,10 +75,11 @@ class Equipment(StorageHandler):
|
|||||||
break
|
break
|
||||||
|
|
||||||
# Long click accidentally became normal click, exit from dock
|
# Long click accidentally became normal click, exit from dock
|
||||||
if self.appear(DOCK_CHECK, offset=(20, 20), interval=3):
|
if long_click:
|
||||||
logger.info(f'equip_enter {DOCK_CHECK} -> {BACK_ARROW}')
|
if self.appear(DOCK_CHECK, offset=(20, 20), interval=3):
|
||||||
self.device.click(BACK_ARROW)
|
logger.info(f'equip_enter {DOCK_CHECK} -> {BACK_ARROW}')
|
||||||
continue
|
self.device.click(BACK_ARROW)
|
||||||
|
continue
|
||||||
if enter_timer.reached():
|
if enter_timer.reached():
|
||||||
if long_click:
|
if long_click:
|
||||||
self.device.long_click(click_button, duration=(1.5, 1.7))
|
self.device.long_click(click_button, duration=(1.5, 1.7))
|
||||||
|
|||||||
Reference in New Issue
Block a user