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

Fixed scroller in ltr tv layouts

This commit is contained in:
Hadi Charara 2022-07-08 22:28:43 -04:00
parent ece21d0de0
commit c615bb31ae

View file

@ -272,8 +272,10 @@ const scrollerFactory = function (frame, options) {
ensureSizeInfo();
const pos = self._pos;
if (layoutManager.tv) {
if (layoutManager.tv && globalize.getIsRTL()) {
newPos = within(-newPos, pos.start);
} else if (layoutManager.tv) {
newPos = within(newPos, pos.start);
} else {
newPos = within(newPos, pos.start, pos.end);
}