Add an initial undo state when importing a blank costume

This commit is contained in:
DD 2018-01-12 11:22:26 -05:00
parent 136357463c
commit 379ecf85fc

View file

@ -63,6 +63,8 @@ class PaperCanvas extends React.Component {
paper.project.view.zoom = oldZoom;
paper.project.view.center = oldCenter;
paper.project.view.update();
} else {
performSnapshot(this.props.undoSnapshot);
}
}
componentWillUnmount () {