mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-20 23:52:40 +08:00
improve setLineHeight warning
This commit is contained in:
+4
-1
@@ -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);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user