Remove alpha from color picker

rgba is not currently supported in the themes, so might as well remove
the option from the picker.
This commit is contained in:
Martin Fournier 2021-12-31 10:13:53 -05:00
parent b578e09986
commit 59d8e1f979

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