소스 검색

Docs: Correct updateStyle description in WebGLRenderer.setSize()

Mugen87 7 년 전
부모
커밋
6552bb0c09
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      docs/api/renderers/WebGLRenderer.html

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

@@ -451,7 +451,7 @@
 		<div>
 		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).
-			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>
 
 		<h3>[method:null setTexture2D]( [page:Texture texture], [page:number slot] )</h3>