Clear selection on Escape

This commit is contained in:
Jos de Jong 2020-07-15 09:05:54 +02:00
parent 404f623215
commit 3919585db4
1 changed files with 4 additions and 0 deletions

View File

@ -424,6 +424,10 @@
event.preventDefault()
handlePaste()
}
if (combo === 'Escape') {
event.preventDefault()
selection = null
}
}
if (combo === 'Ctrl+F' || combo === 'Command+F') {