1
0
Эх сурвалжийг харах

Docs: correct typo "pixel ration" to "pixel ratio" (#30561)

Luke 11 сар өмнө
parent
commit
9213efc2d6

+ 2 - 2
src/renderers/common/Renderer.js

@@ -252,7 +252,7 @@ class Renderer {
 		this._getFallback = getFallback;
 
 		/**
-		 * The renderer's pixel ration.
+		 * The renderer's pixel ratio.
 		 *
 		 * @private
 		 * @type {number}
@@ -1575,7 +1575,7 @@ class Renderer {
 	}
 
 	/**
-	 * Sets the given pixel ration and resizes the canvas if necessary.
+	 * Sets the given pixel ratio and resizes the canvas if necessary.
 	 *
 	 * @param {number} [value=1] - The pixel ratio.
 	 */

粤ICP备19079148号