1
0
Fork 0
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:
MrTimscampi 2020-08-26 19:53:11 +02:00
parent 3f7a84512e
commit 98f5bc3d9c

View file

@ -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);