DavidHarvey
2 months ago
No known key found for this signature in database
GPG Key ID: F5C3BFB55CDA2FB8
1 changed files with
4 additions and
4 deletions
-
packages/core/src/utils/ColorPicker.ts
|
|
|
@ -2406,10 +2406,10 @@ export default function ($, undefined?: any) { |
|
|
|
} |
|
|
|
if ((match = matchers.hex8.exec(color))) { |
|
|
|
return { |
|
|
|
a: convertHexToDecimal(match[1]), |
|
|
|
r: parseIntFromHex(match[2]), |
|
|
|
g: parseIntFromHex(match[3]), |
|
|
|
b: parseIntFromHex(match[4]), |
|
|
|
r: parseIntFromHex(match[1]), |
|
|
|
g: parseIntFromHex(match[2]), |
|
|
|
b: parseIntFromHex(match[3]), |
|
|
|
a: convertHexToDecimal(match[4]), |
|
|
|
format: named ? 'name' : 'hex8', |
|
|
|
}; |
|
|
|
} |
|
|
|
|