Fix double click while editing note
This commit is contained in:
parent
bd9fcf74c7
commit
f183200485
|
@ -47,7 +47,7 @@
|
||||||
role="application"
|
role="application"
|
||||||
class="note-card__body"
|
class="note-card__body"
|
||||||
class:note-card__body--editing={$editing}
|
class:note-card__body--editing={$editing}
|
||||||
on:dblclick={noteEditorStore.startEditing}
|
on:dblclick={() => (!$editing ? noteEditorStore.startEditing() : null)}
|
||||||
>
|
>
|
||||||
<NoteContent {note} {noteEditorStore} />
|
<NoteContent {note} {noteEditorStore} />
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue