Browse Source

Docs: Correct updateStyle description in WebGLRenderer.setSize()

Mugen87 7 years ago
parent
commit
6552bb0c09
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/api/renderers/WebGLRenderer.html

+ 1 - 1
docs/api/renderers/WebGLRenderer.html

@@ -451,7 +451,7 @@
 		<div>
 		<div>
 		Resizes the output canvas to (width, height) with device pixel ratio taken into account,
 		Resizes the output canvas to (width, height) with device pixel ratio taken into account,
 			and also sets the viewport to fit that size, starting in (0, 0).
 			and also sets the viewport to fit that size, starting in (0, 0).
-			Setting [page:Boolean updateStyle] to true adds explicit pixel units to the output canvas style.
+			Setting [page:Boolean updateStyle] to false prevents any style changes to the output canvas.
 		</div>
 		</div>
 
 
 		<h3>[method:null setTexture2D]( [page:Texture texture], [page:number slot] )</h3>
 		<h3>[method:null setTexture2D]( [page:Texture texture], [page:number slot] )</h3>