From fe0ca815a7ad9e963eb7e2e4373c478ec9484095 Mon Sep 17 00:00:00 2001 From: chme Date: Mon, 20 Apr 2020 19:09:07 +0200 Subject: [PATCH] [web-src] Always show cover artwork in album dialog If no artwork is available or not yet loaded, falls back to the generated cover artwork. Avoids jumping of dialog after loading of remote image finished. --- ...{CoverPlaceholder.vue => CoverArtwork.vue} | 37 +++++++++++++++++-- web-src/src/components/ModalDialogAlbum.vue | 12 ++++-- web-src/src/mystyles.css | 2 + web-src/src/pages/PageNowPlaying.vue | 35 ++++-------------- 4 files changed, 50 insertions(+), 36 deletions(-) rename web-src/src/components/{CoverPlaceholder.vue => CoverArtwork.vue} (68%) diff --git a/web-src/src/components/CoverPlaceholder.vue b/web-src/src/components/CoverArtwork.vue similarity index 68% rename from web-src/src/components/CoverPlaceholder.vue rename to web-src/src/components/CoverArtwork.vue index 90eb3166..42642a5f 100644 --- a/web-src/src/components/CoverPlaceholder.vue +++ b/web-src/src/components/CoverArtwork.vue @@ -1,14 +1,27 @@ diff --git a/web-src/src/components/ModalDialogAlbum.vue b/web-src/src/components/ModalDialogAlbum.vue index 4bfcd4dc..e9f0d69b 100644 --- a/web-src/src/components/ModalDialogAlbum.vue +++ b/web-src/src/components/ModalDialogAlbum.vue @@ -6,14 +6,16 @@