mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-19 23:33:33 +08:00
Fix: Map swipe optimize should use local map view to generate blacklist
- Opt: Take less screenshots during swipe, reuse local view object as possible - Refactor: handle_boss_appear_refocus() - Fix: Update swipe box area in map, avoid clicking auto search
This commit is contained in:
@@ -112,7 +112,7 @@ class Control(MiniTouch):
|
||||
)
|
||||
self.device.long_click(x, y, duration=duration)
|
||||
|
||||
def swipe(self, vector, box=(123, 159, 1193, 628), random_range=(0, 0, 0, 0), padding=15, duration=(0.1, 0.2),
|
||||
def swipe(self, vector, box=(123, 159, 1175, 628), random_range=(0, 0, 0, 0), padding=15, duration=(0.1, 0.2),
|
||||
whitelist_area=None, blacklist_area=None, name='SWIPE'):
|
||||
"""Method to swipe.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user