Commit 86ed0586 authored by konovalovsergey's avatar konovalovsergey

bug with set font color property

parent 67acd105
......@@ -2719,8 +2719,9 @@ StyleManager.prototype =
var xfs = oItemWithXfs.xfs;
var oRes = {newVal: val, oldVal: xfs && xfs.font ? getFunc.call(xfs.font): null};
xfs = this._initXf(oItemWithXfs);
var hash = val && val.getHash ? val.getHash() : val;
var xfsOperationCache = xfs;
var newXf = xfs.getOperationCache(prop, val);
var newXf = xfs.getOperationCache(prop, hash);
if (newXf) {
oItemWithXfs.xfs = newXf;
} else {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment