mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-18 01:01:29 +08:00
Fix: Reverse swipe in ensure_edge_insight
This commit is contained in:
@@ -172,7 +172,7 @@ class Camera(InfoHandler):
|
|||||||
logger.info('Reverse swipes.')
|
logger.info('Reverse swipes.')
|
||||||
for vector in record[::-1]:
|
for vector in record[::-1]:
|
||||||
x, y = vector
|
x, y = vector
|
||||||
if x != 0 and y != 0:
|
if x != 0 or y != 0:
|
||||||
self.map_swipe((-x, -y))
|
self.map_swipe((-x, -y))
|
||||||
|
|
||||||
return record
|
return record
|
||||||
|
|||||||
Reference in New Issue
Block a user