update CHANGELOG with new version

This commit is contained in:
Anton Lavrenov
2023-01-20 10:53:49 -05:00
parent 721792358a
commit 0a90828633
5 changed files with 39 additions and 9 deletions

View File

@@ -533,12 +533,12 @@ export class Text extends Shape<TextConfig> {
}
}
// if element height is fixed, abort if adding one more line would overflow
if (fixedHeight && currentHeightPx + lineHeightPx > maxHeightPx) {
break;
}
if (this.textArr[this.textArr.length - 1]) {
this.textArr[this.textArr.length - 1].lastInParagraph = true;
}
if (fixedHeight && currentHeightPx + lineHeightPx > maxHeightPx) {
break;
}
}
this.textHeight = fontSize;
// var maxTextWidth = 0;