From 34679614c0db77387c72fb50e35daac6882e941e Mon Sep 17 00:00:00 2001 From: sasensi Date: Wed, 3 Oct 2018 09:43:40 +0200 Subject: [PATCH] Fix: selected position is wrongly placed when item is in a group with matrix not applied --- src/item/Item.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/item/Item.js b/src/item/Item.js index 6b8183f2..1ccd7703 100644 --- a/src/item/Item.js +++ b/src/item/Item.js @@ -4411,7 +4411,7 @@ new function() { // Injection scope for hit-test functions shared with project if (itemSelected) this._drawSelected(ctx, mx, selectionItems); if (positionSelected) { - var point = this.getPosition(true), + var point = mx._transformPoint(this.getPosition(true)), x = point.x, y = point.y; ctx.beginPath();