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

Chore: Format code

This commit is contained in:
LmeSzinc
2025-08-25 13:08:03 +08:00
parent 7c922b05ca
commit 48ac9d825c
7 changed files with 41 additions and 14 deletions

View File

@@ -24,7 +24,6 @@ MEDAL_SHOP_SCROLL.drag_threshold = 0.15
class ShopAdaptiveScroll(AdaptiveScroll):
def match_color(self, main):
from module.base.utils import save_image
area = (self.area[0] - self.background, self.area[1], self.area[2] + self.background, self.area[3])
image = main.image_crop(area, copy=False)
@@ -46,6 +45,7 @@ class ShopAdaptiveScroll(AdaptiveScroll):
mask[peaks] = 1
return mask
MEDAL_SHOP_SCROLL_250814 = ShopAdaptiveScroll(
MEDAL_SHOP_SCROLL_AREA_250814.button,
background=1,