|
|
|
@ -78,7 +78,7 @@ export function ThresholdsEditor({ onChange, value, context }: StandardEditorPro
|
|
|
|
|
<ColorPicker |
|
|
|
|
color={config.defaultColor} |
|
|
|
|
onChange={(val) => onFieldChange('defaultColor', val)} |
|
|
|
|
enableNamedColors={true} |
|
|
|
|
enableNamedColors={false} |
|
|
|
|
/> |
|
|
|
|
</InlineLabel> |
|
|
|
|
</InlineField> |
|
|
|
@ -88,7 +88,7 @@ export function ThresholdsEditor({ onChange, value, context }: StandardEditorPro
|
|
|
|
|
<ColorPicker |
|
|
|
|
color={config.arcBackground} |
|
|
|
|
onChange={(val) => onFieldChange('arcBackground', val)} |
|
|
|
|
enableNamedColors={true} |
|
|
|
|
enableNamedColors={false} |
|
|
|
|
/> |
|
|
|
|
</InlineLabel> |
|
|
|
|
</InlineField> |
|
|
|
@ -122,7 +122,7 @@ export function ThresholdsEditor({ onChange, value, context }: StandardEditorPro
|
|
|
|
|
<ColorPicker |
|
|
|
|
color={threshold.color} |
|
|
|
|
onChange={(newVal) => onThresholdFieldChange(thresholdIdx, 'color', newVal)} |
|
|
|
|
enableNamedColors={true} |
|
|
|
|
enableNamedColors={false} |
|
|
|
|
/> |
|
|
|
|
</InlineLabel> |
|
|
|
|
</InlineField> |
|
|
|
|