From da0cc6d8f192d872393254e4d8e1b2f85f6477d3 Mon Sep 17 00:00:00 2001 From: Martin Fournier Date: Fri, 17 Dec 2021 11:00:00 -0500 Subject: [PATCH] Fix #1974: Change default input to deferred The value does not change automatically now, there's a "Set" button in the popup to trigger the onColorChange event. --- src/ui/React/ThemeEditorModal.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ui/React/ThemeEditorModal.tsx b/src/ui/React/ThemeEditorModal.tsx index 4937a5c23..b8b1f204d 100644 --- a/src/ui/React/ThemeEditorModal.tsx +++ b/src/ui/React/ThemeEditorModal.tsx @@ -40,6 +40,7 @@ function ColorEditor({ name, onColorChange, color, defaultColor }: IColorEditorP <> onColorChange(name, "#" + newColor.hex)} />