mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-24 21:49:03 +08:00
Fix: [EN] Smaller invest button
EN has 2 kinds of button, first and second button have smaller text and third button has normal size text
This commit is contained in:
@@ -111,6 +111,8 @@ class HospitalClue(HospitalUI):
|
||||
|
||||
# Search INVEST
|
||||
buttons = TEMPLATE_INVEST.match_multi(image)
|
||||
buttons += TEMPLATE_INVEST2.match_multi(image)
|
||||
buttons = sorted(buttons, key=lambda b: b.area[1])
|
||||
count = len(buttons)
|
||||
if count == 0:
|
||||
return None
|
||||
|
||||
Reference in New Issue
Block a user