Merge pull request #586 from zilongshanren/fix-label-related-issues-v1.0

fix label positioning
This commit is contained in:
Wang Nan
2016-04-12 16:32:09 +08:00
@@ -75,12 +75,13 @@
if (opacityDirty)
this._syncDisplayOpacity();
if(colorDirty || opacityDirty || (locFlag & flags.textDirty)){
if(colorDirty || opacityDirty || (this._dirtyFlag & flags.textDirty)){
this._rebuildLabelSkin();
}
if (locFlag & flags.transformDirty) //update the transform
if (this._dirtyFlag & flags.transformDirty) {
this.transform(parentCmd);
}
};
proto._getLineHeight = function () {