From 7bfd7245e02c650f8f283a91978facac1fea07e3 Mon Sep 17 00:00:00 2001 From: Henrik Giesel Date: Sat, 2 Apr 2022 06:58:32 +0200 Subject: [PATCH] Fix HighlightColorButton setting last text color (#1765) --- ts/editor/editor-toolbar/HighlightColorButton.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/editor/editor-toolbar/HighlightColorButton.svelte b/ts/editor/editor-toolbar/HighlightColorButton.svelte index 661e96ac2..f1313d54e 100644 --- a/ts/editor/editor-toolbar/HighlightColorButton.svelte +++ b/ts/editor/editor-toolbar/HighlightColorButton.svelte @@ -130,7 +130,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html { color = setColor(event); - bridgeCommand(`lastTextColor:${color}`); + bridgeCommand(`lastHighlightColor:${color}`); }} on:change={() => setTextColor()} />