From 8b906100c0eb7666b70e090956f07a0c8b0efd1f Mon Sep 17 00:00:00 2001 From: Henrik Giesel Date: Thu, 1 Apr 2021 17:29:49 +0200 Subject: [PATCH] Make --toolbar-size a parameter --- ts/editor-toolbar/EditorToolbar.svelte | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/ts/editor-toolbar/EditorToolbar.svelte b/ts/editor-toolbar/EditorToolbar.svelte index aeea8892c..249d152a6 100644 --- a/ts/editor-toolbar/EditorToolbar.svelte +++ b/ts/editor-toolbar/EditorToolbar.svelte @@ -11,16 +11,13 @@ export let nightMode: boolean; export let disabled: Readable = false; + export let size: number = 30; setContext(nightModeKey, nightMode); setContext(disabledKey, disabled); -
+
{#each menus as menu}