From 5e5dd1a833274621c21adab02f68a4ebda78ed7a Mon Sep 17 00:00:00 2001 From: Marcel van der Veldt Date: Mon, 1 Aug 2022 01:49:16 +0200 Subject: [PATCH] Fix OSD constantly refreshing media details --- .../frontend/src/components/PlayerOSD.vue | 96 ++++++++++++++----- .../mass/frontend/src/views/PlayerQueue.vue | 63 +++++------- 2 files changed, 95 insertions(+), 64 deletions(-) diff --git a/custom_components/mass/frontend/src/components/PlayerOSD.vue b/custom_components/mass/frontend/src/components/PlayerOSD.vue index 63d5e27e..c566ad83 100644 --- a/custom_components/mass/frontend/src/components/PlayerOSD.vue +++ b/custom_components/mass/frontend/src/components/PlayerOSD.vue @@ -18,7 +18,12 @@ ? 'to bottom, rgba(0,0,0,.80), rgba(0,0,0,.75)' : 'to bottom, rgba(255,255,255,.85), rgba(255,255,255,.65)' " - style="position: absolute; background-size: 100%; padding: 0; margin-top: -10px" + style=" + position: absolute; + background-size: 100%; + padding: 0; + margin-top: -10px; + " /> @@ -42,11 +49,17 @@