diff --git a/packages/web/src/commands/stdCommands.ts b/packages/web/src/commands/stdCommands.ts index 6ed9e6cf..f8502dc3 100644 --- a/packages/web/src/commands/stdCommands.ts +++ b/packages/web/src/commands/stdCommands.ts @@ -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(), }); diff --git a/packages/web/src/settings/SettingsModal.svelte b/packages/web/src/settings/SettingsModal.svelte index ce824de8..fd14956f 100644 --- a/packages/web/src/settings/SettingsModal.svelte +++ b/packages/web/src/settings/SettingsModal.svelte @@ -1,4 +1,6 @@ -{#if $settings} - - -
Settings
+ + +
Settings
-
Data grid
- - - +
Appearance
+ -
- - -
-
-
-{/if} +
Data grid
+ + + + +
+ + +
+
+