Merge pull request #2250 from knoxHuang/v1.8

improve setLineHeight warning
This commit is contained in:
Jare Guo
2018-01-12 15:58:28 +08:00
committed by GitHub
+4 -1
View File
@@ -113,7 +113,10 @@ jsbLabel.prototype.setLineHeight = function (height) {
this._setLineHeight(height);
}
else {
cc.warnID(4013);
// Todo support setLineHeight for Native
if (40 !== height) {
cc.warnID(4013);
}
}
};