fix computation of camel-case symbol key
This commit is contained in:
parent
e43caaa23b
commit
ace14c7fca
1 changed files with 3 additions and 1 deletions
|
@ -346,7 +346,9 @@ Ox.load.UI = function(options, callback) {
|
|||
if (type == 'symbol') {
|
||||
if (Ox.isString(color)) {
|
||||
colorName = color;
|
||||
color = themeData['symbol' + Ox.toTitleCase(color) + 'Color'];
|
||||
color = themeData[
|
||||
'symbol' + color[0].toUpperCase() + color.slice(1) + 'Color'
|
||||
];
|
||||
}
|
||||
image = image.replace(/#808080/g, '#' + Ox.toHex(color));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue