When switching between fullscreen modes canvas should display content to fit the window after resize

This commit is contained in:
Igor Zinken
2022-02-08 13:16:50 +01:00
parent 98df24b2b5
commit d8053149c8

View File

@@ -295,7 +295,7 @@ export default {
height : this.viewportHeight
},
handler: this.handleCanvasEvent.bind( this ),
}, this.$store, this.calcIdealDimensions );
}, this.$store, this.calcIdealDimensions.bind( this, true ));
setCanvasInstance( zCanvas );
guideRenderer = new GuideRenderer( this.hasGuideRenderer ? zCanvas : null );
this.updateGuideModes();