mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 06:18:21 +08:00
Merge pull request #5047 from weeswelai/shop_ui_update_250814
Upd: Update 250814 shop UI for server CN
This commit is contained in:
@@ -145,6 +145,10 @@ class Book:
|
||||
button (Button):
|
||||
"""
|
||||
image = crop(image, button.area, copy=False)
|
||||
# UI update in 20250814, input item image size is (64, 64), but default
|
||||
# input is (98, 98), if image is not enlarged, get_color result is 0, book will ouput 'BookUnknownTn'
|
||||
if image_size(image) < (98, 98):
|
||||
image = resize(image, (98, 98))
|
||||
self.button = button
|
||||
|
||||
# During the test of 40 random screenshots,
|
||||
|
||||
Reference in New Issue
Block a user