Skip to content

Commit 6083d54

Browse files
authored
text-tool.js -- try fixing typing moving element out of bounds
1 parent 686a54f commit 6083d54

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/helper/tools/text-tool.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,7 @@ class TextTool extends paper.Tool {
315315
if (this.mode === TextTool.TEXT_EDIT_MODE) {
316316
this.textBox.content = this.element.value;
317317
}
318+
if (this.alignment !== "left") this.calculateMatrix(paper.view.matrix);
318319
this.resizeGuide();
319320
}
320321
resizeGuide () {

0 commit comments

Comments
 (0)