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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user