From 981d52bbf7b038ba9411cc822914c4d479709c6d Mon Sep 17 00:00:00 2001 From: LmeSzinc <37934724+LmeSzinc@users.noreply.github.com> Date: Sun, 1 Jan 2023 01:47:20 +0800 Subject: [PATCH] Fix: Page scrolling in voucher shop --- module/shop/shop_voucher.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/module/shop/shop_voucher.py b/module/shop/shop_voucher.py index 57a446c57..42bb06277 100644 --- a/module/shop/shop_voucher.py +++ b/module/shop/shop_voucher.py @@ -203,7 +203,8 @@ class VoucherShop(ShopClerk): logger.info('Voucher Shop reach bottom, stop') break else: - VOUCHER_SHOP_SCROLL.next_page(main=self, page=0.66) + # Only 4 rows of items at max, goto bottom directly + VOUCHER_SHOP_SCROLL.set_bottom(main=self) del_cached_property(self, 'shop_grid') del_cached_property(self, 'shop_voucher_items') continue