fix update canvas style

beta.r3js.org
-=yb4f310 2018-03-09 13:03:29 +01:00
parent fb539ea10a
commit b97ef4eac4
1 changed files with 2 additions and 2 deletions

View File

@ -204,7 +204,7 @@ GameLib.Renderer.D3.prototype.updateInstance = function(property) {
property === 'height'
) {
var size = GameLib.Utils.GetWindowSize();
this.instance.setSize(size.width, size.height);
this.instance.setSize(size.width, size.height, false);
return;
}
@ -424,7 +424,7 @@ GameLib.Renderer.D3.prototype.setSize = function(width, height) {
false
);
this.instance.setPixelRatio(window.devicePixelRatio);
//this.instance.setPixelRatio(window.devicePixelRatio);
};
/**