ColorPicker: display colors as rgba in input (#37231)
* SpectrumPalette: change input to display rgba string * fieldOverrides: remove extra hex string check
This commit is contained in:
@@ -226,7 +226,7 @@ function cachingDisplayProcessor(disp: DisplayProcessor, maxCacheSize = 2500): D
|
||||
|
||||
// convert to hex6 or hex8 so downstream we can cheaply test for alpha (and set new alpha)
|
||||
// via a simple length check (in colorManipulator) rather using slow parsing via tinycolor
|
||||
if (v.color && v.color[0] !== '#') {
|
||||
if (v.color) {
|
||||
v.color = asHexString(v.color);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user