show toolbar settings

This commit is contained in:
Jan Prochazka
2021-04-18 11:11:06 +02:00
parent 375a441abf
commit 49f8fb71e4
3 changed files with 36 additions and 22 deletions

View File

@@ -46,7 +46,7 @@ registerCommand({
id: 'toolbar.show',
category: 'Toolbar',
name: 'Show',
onClick: () => visibleToolbar.set(1),
onClick: () => visibleToolbar.set(true),
testEnabled: () => !getVisibleToolbar(),
});
@@ -54,7 +54,7 @@ registerCommand({
id: 'toolbar.hide',
category: 'Toolbar',
name: 'Hide',
onClick: () => visibleToolbar.set(0),
onClick: () => visibleToolbar.set(false),
testEnabled: () => getVisibleToolbar(),
});