mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-09 18:39:04 +08:00
Update shop_voucher.py (#4576)
Corrected scroll action: should scroll to next page, not the bottom.
This commit is contained in:
parent
e265eb57f0
commit
1435bb7252
@ -204,8 +204,7 @@ class VoucherShop(ShopClerk, ShopStatus):
|
|||||||
logger.info('Voucher Shop reach bottom, stop')
|
logger.info('Voucher Shop reach bottom, stop')
|
||||||
break
|
break
|
||||||
else:
|
else:
|
||||||
# Only 4 rows of items at max, goto bottom directly
|
VOUCHER_SHOP_SCROLL.next_page(main=self)
|
||||||
VOUCHER_SHOP_SCROLL.set_bottom(main=self)
|
|
||||||
del_cached_property(self, 'shop_grid')
|
del_cached_property(self, 'shop_grid')
|
||||||
del_cached_property(self, 'shop_voucher_items')
|
del_cached_property(self, 'shop_voucher_items')
|
||||||
continue
|
continue
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user