1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 09:48:20 +08:00
This commit is contained in:
2024-12-29 12:15:01 +08:00
32 changed files with 604 additions and 136 deletions

View File

@@ -334,7 +334,7 @@ class Button(Resource):
Returns:
bool.
"""
if self.match(image, offset=offset, similarity=similarity):
if self.match_luma(image, offset=offset, similarity=similarity):
diff = np.subtract(self.button, self._button)[:2]
area = area_offset(self.area, offset=diff)
color = get_color(image, area)