mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 03:58:22 +08:00
Refactor: module/device, separate all screenshot method and control methods
- Better screenshot and control retries, handle common exceptions
This commit is contained in:
@@ -46,7 +46,7 @@ class GlobeCamera(GlobeOperation, ZoneManager):
|
||||
vector = np.array(distance) * vector
|
||||
|
||||
vector = -vector
|
||||
self.device.swipe(vector, name=name, box=box)
|
||||
self.device.swipe_vector(vector, name=name, box=box)
|
||||
self.device.sleep(0.3)
|
||||
|
||||
self.globe_update()
|
||||
|
||||
Reference in New Issue
Block a user