fix video marker theme switch
This commit is contained in:
parent
30f26ebb9b
commit
8daf9446c2
1 changed files with 2 additions and 1 deletions
|
@ -345,9 +345,10 @@ Ox.load.UI = function(options, callback) {
|
|||
Ox.forEach(colors[type], function(name, hex) {
|
||||
image = image.replace(
|
||||
new RegExp(hex, 'g'),
|
||||
'#' + Ox.toHex(themeData[name])
|
||||
'$' + Ox.toHex(themeData[name])
|
||||
);
|
||||
});
|
||||
image = image.replace(/$/g, '#');
|
||||
return 'data:image/svg+xml;base64,' + btoa(
|
||||
image + '<!--' + JSON.stringify(Ox.extend(color ? {
|
||||
color: colorName
|
||||
|
|
Loading…
Reference in a new issue