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

Merge pull request #214 from noname94/patch1

Fix: FOOD ButtonGrid area fix
This commit is contained in:
LmeSzinc
2020-10-03 15:35:31 +08:00
committed by GitHub

View File

@@ -20,7 +20,7 @@ MASK_DORM = Mask(file='./assets/mask/MASK_DORM.png')
DORM_CAMERA_SWIPE = (300, 250)
DORM_CAMERA_RANDOM = (-20, -20, 20, 20)
RECORD = ('RewardRecord', 'dorm')
FOOD = ButtonGrid(origin=(295, 375), delta=(156, 0), button_shape=(118, 79), grid_shape=(6, 1), name='FOOD')
FOOD = ButtonGrid(origin=(298, 375), delta=(156, 0), button_shape=(112, 66), grid_shape=(6, 1), name='FOOD')
FOOD_AMOUNT = ButtonGrid(
origin=(343, 411), delta=(156, 0), button_shape=(70, 33), grid_shape=(6, 1), name='FOOD_AMOUNT')
OCR_FOOD = Digit(FOOD_AMOUNT.buttons(), letter=(255, 255, 255), threshold=128, name='OCR_DORM_FOOD')