diff --git a/client/src/components/netflix-grid.tsx b/client/src/components/netflix-grid.tsx index b1a2bde..4351fc5 100644 --- a/client/src/components/netflix-grid.tsx +++ b/client/src/components/netflix-grid.tsx @@ -229,12 +229,9 @@ function CategoryRow({ category, onVideoClick }: CategoryRowProps) { onClick={(e) => { e.preventDefault(); e.stopPropagation(); - // If already scrolling, just toggle speed, otherwise do single scroll - if (isScrolling) { - toggleSpeed('left'); - } else { - scroll('left'); - } + console.log('LEFT BUTTON CLICKED!'); + alert('LEFT BUTTON CLICKED!'); + scroll('left'); }} onMouseEnter={(e) => { e.stopPropagation(); @@ -255,12 +252,9 @@ function CategoryRow({ category, onVideoClick }: CategoryRowProps) { onClick={(e) => { e.preventDefault(); e.stopPropagation(); - // If already scrolling, just toggle speed, otherwise do single scroll - if (isScrolling) { - toggleSpeed('right'); - } else { - scroll('right'); - } + console.log('RIGHT BUTTON CLICKED!'); + alert('RIGHT BUTTON CLICKED!'); + scroll('right'); }} onMouseEnter={(e) => { e.stopPropagation();