mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
rework transitions
This commit is contained in:
parent
5d1cf10d82
commit
5a13f0c6dd
6 changed files with 69 additions and 58 deletions
|
@ -16,12 +16,12 @@
|
|||
},
|
||||
"devDependencies": {},
|
||||
"ignore": [],
|
||||
"version": "1.3.73",
|
||||
"_release": "1.3.73",
|
||||
"version": "1.3.74",
|
||||
"_release": "1.3.74",
|
||||
"_resolution": {
|
||||
"type": "version",
|
||||
"tag": "1.3.73",
|
||||
"commit": "0727aaabe8c649aa53cd732507f11a295a581ac3"
|
||||
"tag": "1.3.74",
|
||||
"commit": "cb08b23d4989aaab3ee4b4ba5069eee6a96e04ad"
|
||||
},
|
||||
"_source": "https://github.com/MediaBrowser/emby-webcomponents.git",
|
||||
"_target": "^1.2.0",
|
||||
|
|
|
@ -151,6 +151,11 @@ define(['browser'], function (browser) {
|
|||
|
||||
function getMaxBitrate() {
|
||||
|
||||
// 10mbps
|
||||
if (browser.xboxOne) {
|
||||
return 10000000;
|
||||
}
|
||||
|
||||
var userAgent = navigator.userAgent.toLowerCase();
|
||||
|
||||
if (browser.tizen) {
|
||||
|
|
|
@ -101,13 +101,20 @@
|
|||
|
||||
EmbySelectPrototype.createdCallback = function () {
|
||||
|
||||
var parent = this.parentNode;
|
||||
if (!parent.classList.contains('selectContainer')) {
|
||||
var div = this.ownerDocument.createElement('div');
|
||||
div.classList.add('selectContainer');
|
||||
parent.replaceChild(div, this);
|
||||
div.appendChild(this);
|
||||
}
|
||||
if (!this.id) {
|
||||
this.id = 'select' + new Date().getTime();
|
||||
}
|
||||
this.addEventListener('mousedown', onMouseDown);
|
||||
this.addEventListener('keydown', onKeyDown);
|
||||
this.addEventListener('focus', onFocus);
|
||||
this.addEventListener('keydown', onBlur);
|
||||
this.addEventListener('blur', onBlur);
|
||||
};
|
||||
|
||||
EmbySelectPrototype.attachedCallback = function () {
|
||||
|
|
|
@ -116,7 +116,8 @@ define(['browser'], function (browser) {
|
|||
var timings = {
|
||||
duration: 450,
|
||||
iterations: 1,
|
||||
easing: 'ease-out'
|
||||
easing: 'ease-out',
|
||||
fill: 'both'
|
||||
}
|
||||
|
||||
var animations = [];
|
||||
|
@ -155,7 +156,8 @@ define(['browser'], function (browser) {
|
|||
var timings = {
|
||||
duration: 200,
|
||||
iterations: 1,
|
||||
easing: 'ease-out'
|
||||
easing: 'ease-out',
|
||||
fill: 'both'
|
||||
}
|
||||
|
||||
var animations = [];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue