mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Don't constraing end position for scrollers if in TV layout
This commit is contained in:
parent
3f7a84512e
commit
98f5bc3d9c
1 changed files with 5 additions and 1 deletions
|
@ -256,7 +256,11 @@ var scrollerFactory = function (frame, options) {
|
|||
ensureSizeInfo();
|
||||
var pos = self._pos;
|
||||
|
||||
newPos = within(newPos, pos.start, pos.end);
|
||||
if (layoutManager.tv) {
|
||||
newPos = within(newPos, pos.start);
|
||||
} else {
|
||||
newPos = within(newPos, pos.start, pos.end);
|
||||
}
|
||||
|
||||
if (!transform) {
|
||||
nativeScrollTo(nativeScrollElement, newPos, immediate);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue