mirror of
https://github.com/konvajs/konva.git
synced 2026-01-23 21:34:50 +08:00
update CHANGELOG with new version
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user