mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Merge branch 'hadicharara/added-support-for-rtl-layouts' of github.com:hadicharara/jellyfin-web into hadicharara/added-support-for-rtl-layouts
This commit is contained in:
commit
e9f2d41056
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);
|
console.debug('offset:' + offset + ' currentStart:' + currentStart + ' currentEnd:' + currentEnd);
|
||||||
const isVisible = offset >= Math.min(currentStart, 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 {
|
return {
|
||||||
start: offset,
|
start: offset,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue