mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fix duplicate latest recordings section
This commit is contained in:
parent
71980ad405
commit
61a71a50fb
11 changed files with 77 additions and 36 deletions
|
@ -14,12 +14,12 @@
|
|||
},
|
||||
"devDependencies": {},
|
||||
"ignore": [],
|
||||
"version": "1.4.391",
|
||||
"_release": "1.4.391",
|
||||
"version": "1.4.394",
|
||||
"_release": "1.4.394",
|
||||
"_resolution": {
|
||||
"type": "version",
|
||||
"tag": "1.4.391",
|
||||
"commit": "9a257cba74955044faf6fbcce9c8dccdfe3ea3c6"
|
||||
"tag": "1.4.394",
|
||||
"commit": "a0c442434641afe149678493728f2630558f763e"
|
||||
},
|
||||
"_source": "https://github.com/MediaBrowser/emby-webcomponents.git",
|
||||
"_target": "^1.2.1",
|
||||
|
|
|
@ -240,7 +240,7 @@ define(['browser'], function (browser) {
|
|||
return function (options) {
|
||||
|
||||
options = options || {};
|
||||
var physicalAudioChannels = options.audioChannels || (browser.tv || browser.xboxOne || browser.ps4 ? 6 : 2);
|
||||
var physicalAudioChannels = options.audioChannels || (browser.tv || browser.xboxOne || browser.ps4 || !browser.mobile ? 6 : 2);
|
||||
|
||||
var bitrateSetting = getMaxBitrate();
|
||||
|
||||
|
@ -308,8 +308,8 @@ define(['browser'], function (browser) {
|
|||
videoAudioCodecs.push('dts');
|
||||
}
|
||||
|
||||
if (browser.edgeUwp) {
|
||||
//videoAudioCodecs.push('truehd');
|
||||
if (options.supportsTrueHd) {
|
||||
videoAudioCodecs.push('truehd');
|
||||
}
|
||||
|
||||
videoAudioCodecs = videoAudioCodecs.filter(function (c) {
|
||||
|
|
|
@ -14,7 +14,6 @@
|
|||
flex-shrink: 0;
|
||||
margin: 0;
|
||||
padding: 1.2em .9em;
|
||||
transition: none !important;
|
||||
position: relative;
|
||||
text-transform: uppercase;
|
||||
font-weight: bold;
|
||||
|
|
|
@ -307,8 +307,8 @@
|
|||
.programIcon {
|
||||
margin-left: auto;
|
||||
margin-right: .25em;
|
||||
height: auto;
|
||||
width: auto;
|
||||
height: 1em;
|
||||
width: 1em;
|
||||
font-size: 1.6em;
|
||||
color: #ddd;
|
||||
flex-shrink: 0;
|
||||
|
@ -423,10 +423,10 @@
|
|||
}
|
||||
|
||||
.guide-date-tab-button {
|
||||
font-weight: 500 !important;
|
||||
font-weight: normal !important;
|
||||
color: inherit !important;
|
||||
padding-top: .3em !important;
|
||||
padding-bottom: .3em !important;
|
||||
padding: .3em .7em !important;
|
||||
margin: 0 .3em !important;
|
||||
opacity: .25;
|
||||
}
|
||||
|
||||
|
@ -434,7 +434,7 @@
|
|||
color: #52B54B !important;
|
||||
border-color: transparent !important;
|
||||
opacity: 1;
|
||||
font-weight: 500 !important;
|
||||
font-weight: normal !important;
|
||||
}
|
||||
|
||||
.guide-date-tab-button:focus {
|
||||
|
@ -444,14 +444,6 @@
|
|||
|
||||
.layout-tv .guide-date-tab-button:focus {
|
||||
background-color: #52B54B !important;
|
||||
border-radius: .25em !important;
|
||||
border-radius: .15em !important;
|
||||
color: #fff !important;
|
||||
}
|
||||
|
||||
@media all and (min-width: 1200px) {
|
||||
|
||||
.guide-date-tab-button {
|
||||
padding-left: 1em !important;
|
||||
padding-right: 1em !important;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -57,6 +57,24 @@ define(['focusManager', 'dom', 'scrollStyles'], function (focusManager, dom) {
|
|||
}
|
||||
}
|
||||
|
||||
function toStart(container, elem, horizontal) {
|
||||
var pos = getPosition(container, elem, horizontal);
|
||||
|
||||
if (container.scrollTo) {
|
||||
if (horizontal) {
|
||||
container.scrollTo(pos.start, 0);
|
||||
} else {
|
||||
container.scrollTo(0, pos.start);
|
||||
}
|
||||
} else {
|
||||
if (horizontal) {
|
||||
container.scrollLeft = Math.round(pos.start);
|
||||
} else {
|
||||
container.scrollTop = Math.round(pos.start);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function centerOnFocus(e, scrollSlider, horizontal) {
|
||||
var focused = focusManager.focusableParent(e.target);
|
||||
|
||||
|
@ -102,6 +120,7 @@ define(['focusManager', 'dom', 'scrollStyles'], function (focusManager, dom) {
|
|||
}
|
||||
}
|
||||
},
|
||||
toCenter: toCenter
|
||||
toCenter: toCenter,
|
||||
toStart: toStart
|
||||
};
|
||||
});
|
|
@ -13,6 +13,9 @@ define(['browser', 'dom', 'css!./viewcontainer-lite'], function (browser, dom) {
|
|||
if (browser.tv) {
|
||||
return false;
|
||||
}
|
||||
if (navigator.userAgent.toLowerCase().indexOf('embytheaterpi') !== -1) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return browser.supportsCssAnimation();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue