Fix: selected position is wrongly placed when item is in a group with matrix not applied

This commit is contained in:
sasensi 2018-10-03 09:43:40 +02:00
parent 6cbf5292da
commit 34679614c0

View file

@ -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();