fix transformer

This commit is contained in:
Anton Lavrenov
2018-01-10 09:48:09 +07:00
parent ee028f66ae
commit 661fc8de53
3 changed files with 3 additions and 3 deletions

View File

@@ -88,7 +88,7 @@
ctx.beginPath();
ctx.rect(0, 0, this.width(), this.height());
ctx.moveTo(this.width() / 2, 0);
ctx.lineTo(this.width() / 2, -this.rotateHandlerOffset());
ctx.lineTo(this.width() / 2, -this.getParent().rotateHandlerOffset());
ctx.fillStrokeShape(this);
}
});