From d0076b3865916253b9696b1002d0979d879c0baa Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Tue, 16 Feb 2016 12:09:32 -0500 Subject: [PATCH] fix xbox one, ps4 not seeing dlna server --- .../emby-webcomponents/.bower.json | 8 ++++---- .../emby-webcomponents/loading/loading.css | 17 ++++++++++++----- .../emby-webcomponents/loading/loading.js | 6 +++++- 3 files changed, 21 insertions(+), 10 deletions(-) diff --git a/dashboard-ui/bower_components/emby-webcomponents/.bower.json b/dashboard-ui/bower_components/emby-webcomponents/.bower.json index fcff827481..313dceeb83 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/.bower.json +++ b/dashboard-ui/bower_components/emby-webcomponents/.bower.json @@ -15,12 +15,12 @@ }, "devDependencies": {}, "ignore": [], - "version": "1.0.82", - "_release": "1.0.82", + "version": "1.0.83", + "_release": "1.0.83", "_resolution": { "type": "version", - "tag": "1.0.82", - "commit": "87ca65dd008946b330945c0c1adcaf3b6337c1d2" + "tag": "1.0.83", + "commit": "2d07f1da3ed23cf12b40ed2639e42dd737eb83fd" }, "_source": "git://github.com/MediaBrowser/emby-webcomponents.git", "_target": "~1.0.0", diff --git a/dashboard-ui/bower_components/emby-webcomponents/loading/loading.css b/dashboard-ui/bower_components/emby-webcomponents/loading/loading.css index 84e3f23f4d..ca42d00614 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/loading/loading.css +++ b/dashboard-ui/bower_components/emby-webcomponents/loading/loading.css @@ -1,14 +1,21 @@ .docspinner { - margin-top: -5vh; - margin-left: -5vh; - width: 10vh; - height: 10vh; + margin-top: -4vh; + margin-left: -4vh; + width: 8vh; + height: 8vh; position: fixed; top: 50%; left: 50%; z-index: 9999999; } + .docspinner.tv { + margin-top: -5vh; + margin-left: -5vh; + width: 10vh; + height: 10vh; + } + .loadingHide { display: none !important; -} +} \ No newline at end of file diff --git a/dashboard-ui/bower_components/emby-webcomponents/loading/loading.js b/dashboard-ui/bower_components/emby-webcomponents/loading/loading.js index c900612b25..88c4052697 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/loading/loading.js +++ b/dashboard-ui/bower_components/emby-webcomponents/loading/loading.js @@ -1,4 +1,4 @@ -define(['paper-spinner', 'css!./loading'], function () { +define(['layoutManager', 'paper-spinner', 'css!./loading'], function (layoutManager) { return { show: function () { @@ -9,6 +9,10 @@ define(['paper-spinner', 'css!./loading'], function () { elem = document.createElement("paper-spinner"); elem.classList.add('docspinner'); + if (layoutManager.tv) { + elem.classList.add('tv'); + } + document.body.appendChild(elem); }