Fix #1924
This commit is contained in:
parent
45d962bcb6
commit
48bed37ec8
1 changed files with 1 additions and 1 deletions
|
@ -285,7 +285,7 @@
|
||||||
<div class="flex w-full items-end justify-between px-4">
|
<div class="flex w-full items-end justify-between px-4">
|
||||||
<div class="flex flex-col">
|
<div class="flex flex-col">
|
||||||
<If condition={featureSwitches.featureSwitchEnableLogin}>
|
<If condition={featureSwitches.featureSwitchEnableLogin}>
|
||||||
{#if state.layout.hasPresets() || state.layout.hasNoteLayer()}
|
{#if (state.layout.hasPresets() && state.layout.enableAddNewPoints) || state.layout.hasNoteLayer()}
|
||||||
<button
|
<button
|
||||||
class="pointer-events-auto w-fit low-interaction"
|
class="pointer-events-auto w-fit low-interaction"
|
||||||
class:disabled={$currentZoom < Constants.minZoomLevelToAddNewPoint}
|
class:disabled={$currentZoom < Constants.minZoomLevelToAddNewPoint}
|
||||||
|
|
Loading…
Reference in a new issue