From 84d07ef1cc8317a63ba09cbd107de7c8aa350dd9 Mon Sep 17 00:00:00 2001 From: Luc Mcgrady Date: Wed, 6 May 2026 21:05:11 +0100 Subject: [PATCH] Fix: Prevent easy days set while scrolling --- ts/routes/deck-options/EasyDaysInput.svelte | 44 +++++++++++++++++++-- 1 file changed, 41 insertions(+), 3 deletions(-) diff --git a/ts/routes/deck-options/EasyDaysInput.svelte b/ts/routes/deck-options/EasyDaysInput.svelte index c5fb4909a2f..82728445e93 100644 --- a/ts/routes/deck-options/EasyDaysInput.svelte +++ b/ts/routes/deck-options/EasyDaysInput.svelte @@ -2,9 +2,10 @@ Copyright: Ankitects Pty Ltd and contributors License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html --> - -
+
{tr.deckConfigEasyDaysMinimum()} @@ -31,8 +67,9 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html {day}
onInput(e, index)} type="range" - bind:value={values[index]} + value={values[index]} step={0.5} max={1.0} min={0.0} @@ -86,6 +123,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html .easy-days-settings input[type="range"] { width: 100%; cursor: pointer; + touch-action: auto; } .day {