- Enhancement: Add `pointsAdded` canvas event (Fixes #141)

master
Brett Zamir 2018-05-31 09:42:57 +08:00
parent 7f5c315812
commit 6ccaf2491c
1 changed files with 1 additions and 0 deletions

View File

@ -655,6 +655,7 @@ pathModule.init({
// TODO: Correct this: // TODO: Correct this:
pathActions.canDeleteNodes = true; pathActions.canDeleteNodes = true;
pathActions.closed_subpath = closedSubpath; pathActions.closed_subpath = closedSubpath;
call('pointsAdded', {closedSubpath, grips});
call('selected', grips); call('selected', grips);
}, },
endChanges ({cmd, elem}) { endChanges ({cmd, elem}) {