From df1fef28c02b08a1ba13e4fbd8bc6f15d6c7913c Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Fri, 12 Apr 2024 19:49:01 +0200 Subject: [PATCH] Fix: Move image preview below FloatOver, the popup otherwise hides the image preview --- src/UI/ThemeViewGUI.svelte | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/src/UI/ThemeViewGUI.svelte b/src/UI/ThemeViewGUI.svelte index 5626ca226..efc1ea9fa 100644 --- a/src/UI/ThemeViewGUI.svelte +++ b/src/UI/ThemeViewGUI.svelte @@ -385,18 +385,7 @@ - i !== undefined)}> - state.previewedImage.setData(undefined)}> - - - - + {#if $selectedElement !== undefined && $selectedLayer !== undefined && !$selectedLayer.popupInFloatover} @@ -431,6 +420,19 @@ {/if} + i !== undefined)}> + state.previewedImage.setData(undefined)}> + + + + + state.guistate.themeIsOpened.setData(false)}>