mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-08-22 11:00:20 -04:00
Prevent drawing selected compound path children twice.
This commit is contained in:
parent
ea8518c3a5
commit
e1ed7f3294
3 changed files with 8 additions and 7 deletions
src/project
|
@ -865,9 +865,9 @@ var Project = PaperScopeItem.extend(/** @lends Project# */{
|
|||
ctx.strokeWidth = 1;
|
||||
var items = this._selectedItems,
|
||||
size = this._scope.settings.handleSize,
|
||||
updateVersion = this._updateVersion;
|
||||
version = this._updateVersion;
|
||||
for (var id in items)
|
||||
items[id]._drawSelection(ctx, matrix, size, updateVersion);
|
||||
items[id]._drawSelection(ctx, matrix, size, items, version);
|
||||
ctx.restore();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue