Răsfoiți Sursa

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

Luke 11 luni în urmă
părinte
comite
9213efc2d6
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      src/renderers/common/Renderer.js

+ 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号