From 6709a27f7135be529c1f6facdb669428ef4c65eb Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Wed, 14 Jun 2023 23:58:57 +0200 Subject: [PATCH] Usertests: explicitly mark the 'switch layers' button in special interactions, see #1316 --- .../OpenBackgroundSelectorButton.svelte | 24 +++++++++---- UI/Popup/AddNewPoint/AddNewPoint.svelte | 9 ++--- UI/Popup/ImportButtons/PointImportFlow.svelte | 16 ++++----- UI/Popup/ImportButtons/WayImportFlow.svelte | 23 ++++++------- UI/SpecialVisualization.ts | 2 +- UI/ThemeViewGUI.svelte | 34 ++++++++----------- langs/en.json | 1 + public/css/index-tailwind-output.css | 26 +++----------- 8 files changed, 58 insertions(+), 77 deletions(-) diff --git a/UI/BigComponents/OpenBackgroundSelectorButton.svelte b/UI/BigComponents/OpenBackgroundSelectorButton.svelte index fc1351995..d2b533ec2 100644 --- a/UI/BigComponents/OpenBackgroundSelectorButton.svelte +++ b/UI/BigComponents/OpenBackgroundSelectorButton.svelte @@ -1,11 +1,23 @@ - state.guistate.backgroundLayerSelectionIsOpened.setData(true)}> - + state.guistate.backgroundLayerSelectionIsOpened.setData(true)} +> + + {#if !hideTooltip} + + {/if} diff --git a/UI/Popup/AddNewPoint/AddNewPoint.svelte b/UI/Popup/AddNewPoint/AddNewPoint.svelte index c1dbc1bd7..96e931932 100644 --- a/UI/Popup/AddNewPoint/AddNewPoint.svelte +++ b/UI/Popup/AddNewPoint/AddNewPoint.svelte @@ -31,8 +31,7 @@ import BackButton from "../../Base/BackButton.svelte" import ToSvelte from "../../Base/ToSvelte.svelte" import Svg from "../../../Svg" - import MapControlButton from "../../Base/MapControlButton.svelte" - import {Square3Stack3dIcon} from "@babeard/svelte-heroicons/solid" + import OpenBackgroundSelectorButton from "../../BigComponents/OpenBackgroundSelectorButton.svelte"; export let coordinate: { lon: number; lat: number } export let state: SpecialVisualizationState @@ -329,11 +328,7 @@
- state.guistate.backgroundLayerSelectionIsOpened.setData(true)} - > - - +
diff --git a/UI/Popup/ImportButtons/PointImportFlow.svelte b/UI/Popup/ImportButtons/PointImportFlow.svelte index 6e1bb9053..7130fbe71 100644 --- a/UI/Popup/ImportButtons/PointImportFlow.svelte +++ b/UI/Popup/ImportButtons/PointImportFlow.svelte @@ -1,11 +1,10 @@