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

rework live stream handling

This commit is contained in:
Luke Pulverenti 2016-09-25 14:39:13 -04:00
parent fd25ff8c13
commit a6d492c13d
27 changed files with 313 additions and 1301 deletions

View file

@ -25,7 +25,9 @@
results[i] = {
top: box.top,
left: box.left
left: box.left,
width: box.width,
height: box.height
};
}
@ -45,10 +47,10 @@
var pos = getOffsets([options.positionTo])[0];
if (options.positionY != 'top') {
pos.top += options.positionTo.offsetHeight / 2;
pos.top += (pos.height || 0) / 2;
}
pos.left += options.positionTo.offsetWidth / 2;
pos.left += (pos.width || 0) / 2;
var height = dlg.offsetHeight || 300;
var width = dlg.offsetWidth || 160;