Browse Source

Update WebGLRenderer.d.ts

Fixes a typo where the `WebGLRendererParameters` exposes `pixelRation` rather than `pixelRatio`.
Alec McEachran 5 năm trước cách đây
mục cha
commit
0635321bc9
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/renderers/WebGLRenderer.d.ts

+ 1 - 1
src/renderers/WebGLRenderer.d.ts

@@ -188,7 +188,7 @@ export class WebGLRenderer implements Renderer {
 
 	shadowMap: WebGLShadowMap;
 
-	pixelRation: number;
+	pixelRatio: number;
 
 	capabilities: WebGLCapabilities;
 	properties: WebGLProperties;