Permalink
Browse files

Fixed typo in README.md

  • Loading branch information...
badlogic committed Oct 27, 2017
1 parent b502aa3 commit 93d34666b0d69f349dbaddfa3e980799967739af
Showing with 1 addition and 1 deletion.
  1. +1 −1 spine-ts/README.md
View
@@ -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.

0 comments on commit 93d3466

Please sign in to comment.