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.
This commit is contained in:
Martin Fournier 2021-12-17 11:00:00 -05:00
parent 6c5842d2e7
commit da0cc6d8f1

@ -40,6 +40,7 @@ function ColorEditor({ name, onColorChange, color, defaultColor }: IColorEditorP
<>
<ColorPicker
hideTextfield
deferred
value={color}
onChange={(newColor: Color) => onColorChange(name, "#" + newColor.hex)}
/>