Преглед изворни кода

Docs: Correct updateStyle description in WebGLRenderer.setSize()

Mugen87 пре 8 година
родитељ
комит
6552bb0c09
1 измењених фајлова са 1 додато и 1 уклоњено
  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>

粤ICP备19079148号