From b1b8b9605d804793f557c92e2d7b1f659d8c99f0 Mon Sep 17 00:00:00 2001 From: "jakob.stendahl" Date: Mon, 5 Dec 2022 12:27:41 +0100 Subject: Move IDE components into its own store, fix some state issues, change state update method to push instead of pull --- src_frontend/ComponentLib/Button/EditorActionButton.svelte | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src_frontend/ComponentLib/Button') diff --git a/src_frontend/ComponentLib/Button/EditorActionButton.svelte b/src_frontend/ComponentLib/Button/EditorActionButton.svelte index 148720c..2b3c61d 100644 --- a/src_frontend/ComponentLib/Button/EditorActionButton.svelte +++ b/src_frontend/ComponentLib/Button/EditorActionButton.svelte @@ -3,6 +3,7 @@ export let fullWidth = false; export let backgroundColor = "#444242"; export let color = "white"; + export let alt = null; export let loadingPromise = null; $: listen(loadingPromise); @@ -63,6 +64,7 @@ on:click class:fullWidth={fullWidth} class:iconButton={faIcon != false} + alt={alt} style="--bg-color: {backgroundColor}; --color: {color};"> -- cgit v1.2.3