diff --git a/src/containers/paper-canvas.jsx b/src/containers/paper-canvas.jsx index 40a19880..41dff0e7 100644 --- a/src/containers/paper-canvas.jsx +++ b/src/containers/paper-canvas.jsx @@ -150,8 +150,10 @@ class PaperCanvas extends React.Component { maybeZoomToFit (isBitmapMode) { if (this.shouldZoomToFit instanceof paper.Matrix) { paper.view.matrix = this.shouldZoomToFit; + this.props.updateViewBounds(paper.view.matrix); } else if (this.shouldZoomToFit === true) { zoomToFit(isBitmapMode); + this.props.updateViewBounds(paper.view.matrix); } this.shouldZoomToFit = false; }