Fix double click while editing note

This commit is contained in:
Dallas Hoffman 2023-10-03 00:26:39 -04:00
parent bd9fcf74c7
commit f183200485
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@
role="application"
class="note-card__body"
class:note-card__body--editing={$editing}
on:dblclick={noteEditorStore.startEditing}
on:dblclick={() => (!$editing ? noteEditorStore.startEditing() : null)}
>
<NoteContent {note} {noteEditorStore} />
</div>