-
Color
-
Click to assign a color to this layer.
+ let openStore;
+
-
- {#each colors as colorOption}
-
- {/each}
-
+
+
+
-
-
+
+
+ Color
+
+ Click to assign a color to this layer.
+
+
+ {#each colors as colorOption}
+
-{/if}
-
-
+
diff --git a/packages/ui/src/lib/layerControl/OpacityControl.svelte b/packages/ui/src/lib/layerControl/OpacityControl.svelte
index d134fcfb7..fc61fab9f 100644
--- a/packages/ui/src/lib/layerControl/OpacityControl.svelte
+++ b/packages/ui/src/lib/layerControl/OpacityControl.svelte
@@ -1,59 +1,23 @@
-
-
-
-
-{#if $open}
-
-
+
+
+
+
-
-
Opacity
+
Opacity
-
+
-{/if}
-
-
+
diff --git a/packages/ui/src/lib/layerControl/ResizeControl.svelte b/packages/ui/src/lib/layerControl/ResizeControl.svelte
index 83cdb5f60..c7022ac1d 100644
--- a/packages/ui/src/lib/layerControl/ResizeControl.svelte
+++ b/packages/ui/src/lib/layerControl/ResizeControl.svelte
@@ -1,18 +1,6 @@
-
-
-
-
-{#if $open}
-
-
+
+
+
+
-
-
Marker size
+
Marker size
-
+
-{/if}
-
-
+
diff --git a/packages/ui/src/lib/popover/Popover.svelte b/packages/ui/src/lib/popover/Popover.svelte
index df482a8fc..488c84abd 100644
--- a/packages/ui/src/lib/popover/Popover.svelte
+++ b/packages/ui/src/lib/popover/Popover.svelte
@@ -34,6 +34,12 @@
* text size for the tooltip target
*/
export let hintSize: 'sm' | 'md' | 'lg' | undefined = undefined;
+
+ /**
+ * Store controlling whether popover is open.
+ */
+ export let openStore;
+ $: openStore = open;