From b650dec4076c87fbacd8064ba87b2a1b32c87c85 Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Thu, 5 Sep 2024 12:13:05 +0200 Subject: [PATCH 1/3] UX: add background to sticky buttons --- src/UI/Popup/TagRendering/TagRenderingQuestion.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/UI/Popup/TagRendering/TagRenderingQuestion.svelte b/src/UI/Popup/TagRendering/TagRenderingQuestion.svelte index b4e85abb2..c7ba6155a 100644 --- a/src/UI/Popup/TagRendering/TagRenderingQuestion.svelte +++ b/src/UI/Popup/TagRendering/TagRenderingQuestion.svelte @@ -546,7 +546,7 @@
From f02a3d8392728b0b09736c1ccbfecc16242e6852 Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Fri, 6 Sep 2024 22:50:56 +0200 Subject: [PATCH 2/3] Fix crash when trying to change user settings --- src/Models/ThemeConfig/TagRenderingConfig.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Models/ThemeConfig/TagRenderingConfig.ts b/src/Models/ThemeConfig/TagRenderingConfig.ts index 3408cbcd9..e2a4c1538 100644 --- a/src/Models/ThemeConfig/TagRenderingConfig.ts +++ b/src/Models/ThemeConfig/TagRenderingConfig.ts @@ -926,6 +926,9 @@ export default class TagRenderingConfig { * Might give undefined if setting to unknown is not possible */ public removeToSetUnknown(partOfLayer: LayerConfig, currentTags: Record): string[] | undefined { + if(!partOfLayer?.source || !currentTags){ + return + } const toDelete = new Set() if (this.freeform) { toDelete.add(this.freeform.key) From 82925aa55f343b2f6a7bc975405c628a875a8a42 Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Fri, 6 Sep 2024 22:56:00 +0200 Subject: [PATCH 3/3] UI: styling tweaks --- public/css/index-tailwind-output.css | 4 ++++ src/UI/BigComponents/MenuDrawer.svelte | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/public/css/index-tailwind-output.css b/public/css/index-tailwind-output.css index 0d22a8219..738715f0a 100644 --- a/public/css/index-tailwind-output.css +++ b/public/css/index-tailwind-output.css @@ -1526,6 +1526,10 @@ input[type="range"].range-lg::-moz-range-thumb { margin-bottom: 0.25rem; } +.mr-3 { + margin-right: 0.75rem; +} + .mt-8 { margin-top: 2rem; } diff --git a/src/UI/BigComponents/MenuDrawer.svelte b/src/UI/BigComponents/MenuDrawer.svelte index 6d85c3ffd..a8bcfb6c4 100644 --- a/src/UI/BigComponents/MenuDrawer.svelte +++ b/src/UI/BigComponents/MenuDrawer.svelte @@ -157,11 +157,11 @@ - + - +