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:
parent
aed7feda2b
commit
6e5be5d366
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue