mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-15 22:19:18 +00:00
Fix: Clear click record after synthesize_rarity_reset()
cause too many similar clicks when selecting items
This commit is contained in:
parent
5521ff9e67
commit
7293ad467a
@ -310,6 +310,7 @@ class Synthesize(CombatObtain, ItemUI):
|
||||
inv.select(first)
|
||||
|
||||
logger.hr('Synthesize select view', level=2)
|
||||
self.device.click_record_clear()
|
||||
switch_row = True
|
||||
while 1:
|
||||
# End
|
||||
@ -329,6 +330,7 @@ class Synthesize(CombatObtain, ItemUI):
|
||||
logger.info('Reached inventory view end, reset view')
|
||||
self.synthesize_rarity_reset(inv=inv)
|
||||
logger.hr('Synthesize select view', level=2)
|
||||
self.device.click_record_clear()
|
||||
continue
|
||||
else:
|
||||
logger.info('Reached inventory list end, no more rows')
|
||||
|
Loading…
Reference in New Issue
Block a user