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;

View file

@ -281,7 +281,7 @@
}));
}
};
if (!dlg.animationConfig || !dlg.animate) {
if (!dlg.animationConfig) {
onAnimationFinish();
return;
}
@ -312,7 +312,7 @@
}
};
if (!dlg.animationConfig || !dlg.animate) {
if (!dlg.animationConfig) {
onAnimationFinish();
return;
}

View file

@ -28,7 +28,6 @@
font-weight: 500;
/* Disable webkit tap highlighting */
-webkit-tap-highlight-color: rgba(0,0,0,0);
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
}
.emby-button::-moz-focus-inner {