mirror of
https://github.com/konvajs/konva.git
synced 2026-01-23 21:34:50 +08:00
small refactoring
This commit is contained in:
@@ -466,7 +466,7 @@ export class Text extends Shape<TextConfig> {
|
||||
}
|
||||
}
|
||||
// if (align === 'right') {
|
||||
match = trimRight.call(match);
|
||||
match = match.trimRight();
|
||||
// }
|
||||
this._addTextLine(match);
|
||||
textWidth = Math.max(textWidth, matchWidth);
|
||||
|
||||
Reference in New Issue
Block a user