Kaynağa Gözat

Update WebGLRenderer.d.ts

Fixes a typo where the `WebGLRendererParameters` exposes `pixelRation` rather than `pixelRatio`.
Alec McEachran 6 yıl önce
ebeveyn
işleme
0635321bc9
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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;