From 44bcfcac852e8f267b399318f61def66d45f3ea4 Mon Sep 17 00:00:00 2001 From: rozetko Date: Tue, 10 May 2022 18:10:57 +0400 Subject: [PATCH] disable named colors --- src/components/editors/ThresholdsEditor.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/editors/ThresholdsEditor.tsx b/src/components/editors/ThresholdsEditor.tsx index 358a3e2..f31df00 100644 --- a/src/components/editors/ThresholdsEditor.tsx +++ b/src/components/editors/ThresholdsEditor.tsx @@ -78,7 +78,7 @@ export function ThresholdsEditor({ onChange, value, context }: StandardEditorPro onFieldChange('defaultColor', val)} - enableNamedColors={true} + enableNamedColors={false} /> @@ -88,7 +88,7 @@ export function ThresholdsEditor({ onChange, value, context }: StandardEditorPro onFieldChange('arcBackground', val)} - enableNamedColors={true} + enableNamedColors={false} /> @@ -122,7 +122,7 @@ export function ThresholdsEditor({ onChange, value, context }: StandardEditorPro onThresholdFieldChange(thresholdIdx, 'color', newVal)} - enableNamedColors={true} + enableNamedColors={false} />