Save after adding points (#696)

This commit is contained in:
DD Liu 2018-09-24 13:47:57 -04:00 committed by GitHub
parent c8a5db311b
commit bcc3af4571
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -200,6 +200,7 @@ class ReshapeTool extends paper.Tool {
hitResult.type === 'curve') { hitResult.type === 'curve') {
this.mode = ReshapeModes.POINT; this.mode = ReshapeModes.POINT;
this._modeMap[this.mode].addPoint(hitProperties); this._modeMap[this.mode].addPoint(hitProperties);
this.onUpdateImage();
this._modeMap[this.mode].onMouseDown(hitProperties); this._modeMap[this.mode].onMouseDown(hitProperties);
} else if ( } else if (
hitResult.type === 'handle-in' || hitResult.type === 'handle-in' ||