1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-04-18 12:37:18 +08:00

Opt: Use square area in shop_grid and code clean up

This commit is contained in:
LmeSzinc
2022-02-03 02:21:52 +08:00
parent 893dc62afb
commit 5d3190373d
8 changed files with 12 additions and 21 deletions

View File

@@ -26,7 +26,7 @@ class MedalShop(ShopBase):
ButtonGrid:
"""
shop_grid = ButtonGrid(
origin=(197, 193), delta=(223, 190), button_shape=(100.5, 101.5), grid_shape=(3, 2), name='SHOP_GRID')
origin=(197, 193), delta=(223, 190), button_shape=(100.5, 100.5), grid_shape=(3, 2), name='SHOP_GRID')
return shop_grid
@cached_property