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:
parent
ece21d0de0
commit
c615bb31ae
1 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue