Fix and improve cursor
This commit is contained in:
@@ -297,6 +297,15 @@ define([], function () {
|
||||
return false;
|
||||
};
|
||||
|
||||
Util.hexToRGB = function (hex) {
|
||||
var h = hex.replace(/^#/, '');
|
||||
return [
|
||||
parseInt(h.slice(0,2), 16),
|
||||
parseInt(h.slice(2,4), 16),
|
||||
parseInt(h.slice(4,6), 16),
|
||||
];
|
||||
};
|
||||
|
||||
return Util;
|
||||
});
|
||||
}(self));
|
||||
|
||||
Reference in New Issue
Block a user