and even mooooore tweaks
This commit is contained in:
parent
fb4d28b265
commit
1c0810290b
7 changed files with 40 additions and 22 deletions
|
@ -112,8 +112,6 @@ export default function Edit(props: ParentProps) {
|
|||
});
|
||||
|
||||
}, { key: 's', modifier: Modifier.Control | Modifier.Shift }),
|
||||
edit: createCommand('edit', () => {
|
||||
}),
|
||||
selectAll: createCommand('select all', () => {
|
||||
api()?.selectAll();
|
||||
}, { key: 'a', modifier: Modifier.Control }),
|
||||
|
@ -143,7 +141,7 @@ export default function Edit(props: ParentProps) {
|
|||
<Menu.Item command={commands.save} />
|
||||
</Menu.Item>
|
||||
|
||||
<Menu.Item command={commands.edit} />
|
||||
<Menu.Item command={noop.withLabel('edit')} />
|
||||
|
||||
<Menu.Item label="selection">
|
||||
<Menu.Item command={commands.selectAll} />
|
||||
|
@ -151,7 +149,7 @@ export default function Edit(props: ParentProps) {
|
|||
<Menu.Item command={commands.clearSelection} />
|
||||
</Menu.Item>
|
||||
|
||||
<Menu.Item label="view" command={noop} />
|
||||
<Menu.Item command={noop.withLabel('view')} />
|
||||
</Menu.Root>
|
||||
|
||||
<Sidebar as="aside" class={css.sidebar}>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue