fix selection command
This commit is contained in:
parent
ce7a300f48
commit
96d04a6094
3 changed files with 11 additions and 4 deletions
|
@ -275,7 +275,7 @@ const Editor: Component<{ root: FileSystemDirectoryHandle }> = (props) => {
|
|||
api()?.selectAll();
|
||||
}, { key: 'a', modifier: Modifier.Control }),
|
||||
clearSelection: createCommand('clear selection', () => {
|
||||
api()?.clear();
|
||||
api()?.clearSelection();
|
||||
}),
|
||||
delete: createCommand('delete selected items', () => {
|
||||
const { selection, remove } = api() ?? {};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue