From 59d8e1f97988a58c203b3eab39d80ceb4f29789c Mon Sep 17 00:00:00 2001 From: Martin Fournier Date: Fri, 31 Dec 2021 10:13:53 -0500 Subject: [PATCH] Remove alpha from color picker rgba is not currently supported in the themes, so might as well remove the option from the picker. --- 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 902a0a34c..299471e4e 100644 --- a/src/ui/React/ThemeEditorModal.tsx +++ b/src/ui/React/ThemeEditorModal.tsx @@ -46,6 +46,7 @@ function ColorEditor({ name, onColorChange, color, defaultColor }: IColorEditorP deferred value={color} onChange={(newColor: Color) => onColorChange(name, "#" + newColor.hex)} + disableAlpha /> ),