fix: command palette being disabled

This commit is contained in:
Xylight committed 2024-09-26 17:12:47 -07:00
1 parent 180d6fcc0d
commit 360855ac2c
4 files changed
+3 -10

No files matched your search

@@ -41,9 +41,7 @@
let promptOpen: boolean = false
</script>
{#if $userSettings.dock.commands}
<CommandsWrapper bind:open={promptOpen} />
{/if}
<nav
class="flex flex-row gap-2 items-center w-full mx-auto z-50 box-border p-0.5
duration-150 @container
+1 -1
View File
@@ -30,6 +30,6 @@
}
}
.animate-spin {
animation: spin 0.8s linear infinite;
animation: spin 0.2s linear infinite;
}
</style>
+2 -2
View File
@@ -87,7 +87,7 @@ interface Settings {
noGap: boolean | null
top: boolean | null
pins: Link[]
commands: boolean
paletteHotkey: string
}
posts: {
deduplicateEmbed: boolean
@@ -168,7 +168,7 @@ export const defaultSettings: Settings = {
noGap: toBool(env.PUBLIC_DOCK_PANEL) ?? null,
top: toBool(env.PUBLIC_DOCK_TOP) ?? null,
pins: [],
commands: true,
paletteHotkey: '/',
},
posts: {
deduplicateEmbed: toBool(env.PUBLIC_DEDUPLICATE_EMBED) ?? true,
-5
View File
@@ -480,11 +480,6 @@
{/each}
</div>
</Setting>
<ToggleSetting
title={$t('settings.navigation.commands.title')}
description={$t('settings.navigation.commands.description')}
bind:checked={$userSettings.dock.commands}
/>
</Section>
<Section id="embeds" title={$t('settings.embeds.title')}>