From 98ffee77643979776935cd10132a0cd18395af78 Mon Sep 17 00:00:00 2001 From: cpu Date: Wed, 26 Mar 2025 22:41:22 +0100 Subject: [PATCH] handle all button types --- app.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app.js b/app.js index b161e94..26e7273 100644 --- a/app.js +++ b/app.js @@ -568,14 +568,10 @@ if ('serviceWorker' in navigator) { function handleSingleClickLogic(buttonId) { console.log(`Single Click Logic Executed from Button: ${buttonId}`); - if (!isDragging) return; - - isDragging = false; if (buttonId === BUTTON_ID) { moveCarousel(-1); } - // Reset carousel to proper position carousel.style.transform = `translateX(${-100 * currentPlayerIndex}%)`; renderPlayers();