minor improve line height of shrinked text

This commit is contained in:
zilongshanren
2016-07-03 10:12:37 +08:00
parent 570b41cb69
commit 4df512cc99
@@ -325,7 +325,7 @@
} else {
maxLength = measureWidth;
if(actualFontSize < node._drawFontsize) {
this._lineHeight = measureHeight + 4;
this._lineHeight = measureHeight * 1.2;
}
totalHeight += Math.max(measureHeight, this._getLineHeight());
}