We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f0c545 commit 13c9502Copy full SHA for 13c9502
1 file changed
src/util/cast.js
@@ -112,6 +112,7 @@ class Cast {
112
*/
113
static toRgbColorObject (value) {
114
let color;
115
+ if (typeof value === 'object') value += '';
116
if (typeof value === 'string' && value.substring(0, 1) === '#') {
117
color = Color.hexToRgb(value);
118
0 commit comments