diff --git a/view/src/components/Editor/Editor.svelte b/view/src/components/Editor/Editor.svelte index b748615..6354c29 100644 --- a/view/src/components/Editor/Editor.svelte +++ b/view/src/components/Editor/Editor.svelte @@ -21,7 +21,7 @@ let layerOpacity = 50; let _layerOpacity = localStorage.getItem("layerOpacity"); if (_layerOpacity) { - layerOpacity = _layerOpacity; + layerOpacity = +_layerOpacity; } diff --git a/view/src/components/Editor/Painter.svelte b/view/src/components/Editor/Painter.svelte index 18d1f77..0efdaae 100644 --- a/view/src/components/Editor/Painter.svelte +++ b/view/src/components/Editor/Painter.svelte @@ -516,7 +516,7 @@ position: absolute; top: 60px; right: 10px; - z-index: 1001; + z-index: 998; cursor: pointer; pointer-events: all; } @@ -525,7 +525,7 @@ position: absolute; top: 10px; right: 10px; - z-index: 1001; + z-index: 998; cursor: pointer; pointer-events: all; } diff --git a/view/src/components/Editor/TopBar.svelte b/view/src/components/Editor/TopBar.svelte index fbadee5..ef70eb0 100644 --- a/view/src/components/Editor/TopBar.svelte +++ b/view/src/components/Editor/TopBar.svelte @@ -1,5 +1,5 @@