mirror of
https://github.com/PitPik/colorPicker.git
synced 2025-09-24 16:40:57 -06:00
Merge d511e2ab72974919ddecf9299199fe8f5d35add3 into 41d780c31fbe01d68e3c3e15e90d8d27d6935939
This commit is contained in:
commit
2e7d07f40d
@ -225,8 +225,10 @@
|
|||||||
if (!ranges[typ][typ]) { // no alpha|HEX
|
if (!ranges[typ][typ]) { // no alpha|HEX
|
||||||
if (type !== typ && typ !== 'XYZ') {
|
if (type !== typ && typ !== 'XYZ') {
|
||||||
from = exceptions[typ] || 'rgb';
|
from = exceptions[typ] || 'rgb';
|
||||||
|
if (typ !== from) {
|
||||||
colors[typ] = convert[from + '2' + typ](colors[from]);
|
colors[typ] = convert[from + '2' + typ](colors[from]);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (!RND[typ]) RND[typ] = {};
|
if (!RND[typ]) RND[typ] = {};
|
||||||
modes = colors[typ];
|
modes = colors[typ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user