提交 61fcfb49 编写于 作者: M Mr.doob

Updated builds.

上级 198ddcb7
......@@ -14057,7 +14057,7 @@ THREE.CanvasRenderer = function ( parameters ) {
_canvas.width = _canvasWidth;
_canvas.height = _canvasHeight;
if ( updateStyle !== false ) {
if ( this.devicePixelRatio !== 1 && updateStyle !== false ) {
_canvas.style.width = width + 'px';
_canvas.style.height = height + 'px';
......@@ -18730,7 +18730,7 @@ THREE.WebGLRenderer = function ( parameters ) {
_canvas.width = width * this.devicePixelRatio;
_canvas.height = height * this.devicePixelRatio;
if ( updateStyle !== false ) {
if ( this.devicePixelRatio !== 1 && updateStyle !== false ) {
_canvas.style.width = width + 'px';
_canvas.style.height = height + 'px';
......
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册