mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-23 12:08:01 +08:00
Fix: [JP] Handle overflowed text in hospital aside
This commit is contained in:
@@ -260,7 +260,8 @@ class HospitalClue(HospitalUI):
|
|||||||
area = button.area
|
area = button.area
|
||||||
search = CLUE_LIST.area
|
search = CLUE_LIST.area
|
||||||
# Search if there's any cyan
|
# Search if there's any cyan
|
||||||
area = (search[0], area[1], search[2], area[3])
|
# JP has text overflowed, set right to 308
|
||||||
|
area = (search[0], area[1], 308, area[3])
|
||||||
return self.image_color_count(area, color=(74, 130, 148), threshold=221, count=20)
|
return self.image_color_count(area, color=(74, 130, 148), threshold=221, count=20)
|
||||||
|
|
||||||
def iter_aside(self):
|
def iter_aside(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user