Merge pull request #356 from fsih/eraserDisappears

Bring back eraser after snapshot
This commit is contained in:
DD Liu 2018-04-09 13:25:12 -04:00 committed by GitHub
commit 6d11c9988a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -141,9 +141,10 @@ class Blobbiness {
blob.mergeBrush(lastPath); blob.mergeBrush(lastPath);
} }
// Remove cursor preview during snapshot, then bring it back
blob.cursorPreview.remove(); blob.cursorPreview.remove();
blob.cursorPreview = null;
blob.onUpdateSvg(); blob.onUpdateSvg();
blob.cursorPreview.parent = getGuideLayer();
// Reset // Reset
blob.brush = null; blob.brush = null;