1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Update src/libraries/scroller.js

Co-authored-by: Bill Thornton <thornbill@users.noreply.github.com>
This commit is contained in:
hadicharara 2022-10-13 13:47:17 -04:00 committed by GitHub
parent aed7feda2b
commit 6e5be5d366
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -399,7 +399,7 @@ const scrollerFactory = function (frame, options) {
console.debug('offset:' + offset + ' currentStart:' + currentStart + ' currentEnd:' + currentEnd);
const isVisible = offset >= Math.min(currentStart, currentEnd)
&& (globalize.getIsRTL() ? (offset - size) : (offset + size)) <= Math.max(currentStart, currentEnd);
&& (globalize.getIsRTL() ? (offset - size) : (offset + size)) <= Math.max(currentStart, currentEnd);
return {
start: offset,