MORE QUICK REACTIONS mousewheel fix

This commit is contained in:
jahlib
2025-11-10 16:32:12 +03:00
committed by GitHub
parent 5884ea55f9
commit 85f9f58680
+6
View File
@@ -1855,6 +1855,12 @@ class CardGame {
hasMoved = false;
}
}, true);
// Скролл колёсиком мыши по горизонтали
scrollContainer.addEventListener('wheel', (e) => {
e.preventDefault();
scrollContainer.scrollLeft += e.deltaY;
}, { passive: false });
}
}