mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-19 23:33:33 +08:00
Fix: Typo in Button.match()
This commit is contained in:
@@ -147,7 +147,7 @@ class Button:
|
|||||||
if isinstance(offset, tuple):
|
if isinstance(offset, tuple):
|
||||||
offset = np.array((-offset[0], -offset[1], offset[0], offset[1]))
|
offset = np.array((-offset[0], -offset[1], offset[0], offset[1]))
|
||||||
else:
|
else:
|
||||||
offset = np.array((3, -offset, 3, offset))
|
offset = np.array((-3, -offset, 3, offset))
|
||||||
image = np.array(image.crop(offset + self.area))
|
image = np.array(image.crop(offset + self.area))
|
||||||
|
|
||||||
if self.is_gif:
|
if self.is_gif:
|
||||||
|
|||||||
Reference in New Issue
Block a user