Add Files escape selection clearing
This commit is contained in:
parent
9a59cd29e4
commit
f34b8a77fc
|
|
@ -1383,6 +1383,13 @@
|
|||
pasteEntry();
|
||||
return;
|
||||
}
|
||||
if (key === 'Escape') {
|
||||
event.preventDefault();
|
||||
selectedPaths = {};
|
||||
lastClickedPath = '';
|
||||
renderList();
|
||||
return;
|
||||
}
|
||||
|
||||
if (key === 'ArrowDown' || key === 'ArrowUp' || key === 'Home' || key === 'End' || key === 'PageDown' || key === 'PageUp') {
|
||||
event.preventDefault();
|
||||
|
|
|
|||
Loading…
Reference in New Issue