瀏覽代碼

Fixed typo in README.md

badlogic 7 年之前
父節點
當前提交
93d34666b0
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      spine-ts/README.md

+ 1 - 1
spine-ts/README.md

@@ -143,7 +143,7 @@ To specify the configuration of a Spine Widget via HTML, you can use these HTML
   * `data-images-path`: optional, the location of images on the server to load atlas pages from. If omitted, atlas `.png` page files are loaded relative to the `.atlas` file.
   * `data-skin`: optional, the name of the skin to use. Defaults to `default` if omitted.
   * `data-loop`: optional, whether to loop the animation or not. Defaults to `true` if omitted.
-  * `data-scale`: optional, the scaling factor to apply when loading the `.json` file. Defaults to `1` if omitted. Irrelevant if `data-fit-to-canavs` is `true`.
+  * `data-scale`: optional, the scaling factor to apply when loading the `.json` file. Defaults to `1` if omitted. Irrelevant if `data-fit-to-canvas` is `true`.
   * `data-x`: optional, the x-coordinate to display the animation at. The origin is in the bottom left corner. Defaults to `0` if omitted. Irrelevant if `data-fit-to-canvas` is `true`.
   * `data-y`: optional, the y-coordinate to display the animation at. The origin is in the bottom left corner with the y-axis pointing upwards. Defaults to `0` if omitted. Irrelevant if `data-fit-to-canvas` is `true`.
   * `data-fit-to-canvas`: optional, whether to fit the animation to the canvas size or not. Defaults to `true` if omitted, in which case `data-scale`, `data-x` and `data-y` are irrelevant. This setting calculates the setup pose bounding box using the specified skin to center and scale the animation on the canvas.