1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 08:38:20 +08:00

Fix: Typo in Button.match()

This commit is contained in:
LmeSzinc
2021-11-09 00:35:50 +08:00
parent 593855f629
commit a17a699b10

View File

@@ -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: