mirror of
https://github.com/W1NDes/M-AzurLaneAutoScript.git
synced 2026-05-14 07:08:04 +08:00
Fix: Typo in Button.match()
This commit is contained in:
parent
593855f629
commit
a17a699b10
@ -147,7 +147,7 @@ class Button:
|
||||
if isinstance(offset, tuple):
|
||||
offset = np.array((-offset[0], -offset[1], offset[0], offset[1]))
|
||||
else:
|
||||
offset = np.array((3, -offset, 3, offset))
|
||||
offset = np.array((-3, -offset, 3, offset))
|
||||
image = np.array(image.crop(offset + self.area))
|
||||
|
||||
if self.is_gif:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user