From b3ccadf38e1b5c2d5c64203849ac95d3b4abe5a0 Mon Sep 17 00:00:00 2001 From: positnuec <93694981+positnuec@users.noreply.github.com> Date: Fri, 10 Jul 2026 09:28:24 +0800 Subject: [PATCH] Fix: medal shop scroll keeps dragging at bottom --- module/shop/shop_medal.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/module/shop/shop_medal.py b/module/shop/shop_medal.py index efed69541..71bba4964 100644 --- a/module/shop/shop_medal.py +++ b/module/shop/shop_medal.py @@ -46,7 +46,9 @@ MEDAL_SHOP_SCROLL_250814 = ShopAdaptiveScroll( background=3, name="MEDAL_SHOP_SCROLL_250814" ) -MEDAL_SHOP_SCROLL_250814.drag_threshold = 0.1 +# A little bit larger than edge_threshold +# to prevent continuous scrolling attempts while already at the bottom +MEDAL_SHOP_SCROLL_250814.drag_threshold = 0.13 # A little bit larger than 0.1 to handle bottom MEDAL_SHOP_SCROLL_250814.edge_threshold = 0.12