mirror of
https://github.com/W1NDes/M-AzurLaneAutoScript.git
synced 2026-05-15 14:30:44 +08:00
Opt: Faster port_enter and port_quit to meed Alas standard
This commit is contained in:
parent
4ba42f85c0
commit
5a8ef0835a
@ -18,8 +18,7 @@ class PortHandler(OSShopHandler):
|
||||
"""
|
||||
self.ui_click(PORT_ENTER, check_button=PORT_CHECK, skip_first_screenshot=skip_first_screenshot)
|
||||
# Buttons at the bottom has an animation to show
|
||||
self.device.sleep(0.3)
|
||||
self.device.screenshot()
|
||||
pass # Already ensured in ui_click
|
||||
|
||||
def port_quit(self, skip_first_screenshot=True):
|
||||
"""
|
||||
@ -30,8 +29,7 @@ class PortHandler(OSShopHandler):
|
||||
self.ui_back(appear_button=PORT_CHECK, check_button=self.is_in_map,
|
||||
skip_first_screenshot=skip_first_screenshot)
|
||||
# Buttons at the bottom has an animation to show
|
||||
self.device.sleep(0.3)
|
||||
self.device.screenshot()
|
||||
self.wait_os_map_buttons()
|
||||
|
||||
def port_mission_accept(self):
|
||||
"""
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user