1
0
Fork 0
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:
Hadi Charara 2022-10-13 14:00:57 -04:00
commit e9f2d41056

View file

@ -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,