Skip to content

Commit

Permalink
Zero-out Canvas CSS transform when the fit is set back to full displa…
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanolson committed Feb 8, 2016
1 parent 92e341f commit 8a58e6f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/display/CanvasBlock.js
Expand Up @@ -79,6 +79,7 @@ define( function( require ) {
this.canvas.style.height = size.height + 'px';
this.wrapper.resetStyles();
this.canvasDrawOffset.setXY( 0, 0 );
Util.unsetTransform( this.canvas );
},

setSizeFitBounds: function() {
Expand Down

0 comments on commit 8a58e6f

Please sign in to comment.