Update ScrollButtons.tsx

This commit is contained in:
Freako 2023-10-14 21:12:32 +05:30 committed by GitHub
parent ca0ea55bc4
commit 63ffa27c2c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -67,7 +67,7 @@ const ScrollButtons: FC<ScrollButtonsProps> = ({ scrollerFactoryRef, scrollState
className='emby-scrollbuttons-button btnPrev'
onClick={triggerScrollLeft}
icon='chevron_left'
disabled={!(localeScrollPos > 0)}
disabled={localeScrollPos <= 0}
/>
<IconButton