提交 b7b6cb6a 编写于 作者: S sunag

fix this.size

上级 de4ec95f
......@@ -24,8 +24,8 @@ ResolutionNode.prototype.updateFrame = function ( frame ) {
var pixelRatio = frame.renderer.getPixelRatio();
this.x = size.width * pixelRatio;
this.y = size.height * pixelRatio;
this.x = this.size.width * pixelRatio;
this.y = this.size.height * pixelRatio;
} else {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册