This commit is contained in:
Captain Jack Sparrow 2024-06-02 22:33:07 +00:00
commit 5941112e0c
1 changed files with 1 additions and 1 deletions

View File

@ -293,7 +293,7 @@ export function Discover() {
isScrolling = true;
const carousel = carouselRefs.current[categorySlug];
if (carousel) {
if (carousel && !e.deltaX) {
const movieElements = carousel.getElementsByTagName("a");
if (movieElements.length > 0) {
const posterWidth = movieElements[0].offsetWidth;