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:
parent
fd25ff8c13
commit
a6d492c13d
27 changed files with 313 additions and 1301 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue