mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2024-12-29 09:22:22 -05:00
Fix: selected position is wrongly placed when item is in a group with matrix not applied
This commit is contained in:
parent
6cbf5292da
commit
34679614c0
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue