Browse Source

Merge branch '3.7' into 3.8-beta

badlogic 6 years ago
parent
commit
d7a93811f7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      spine-ts/canvas/example/index.html

+ 1 - 1
spine-ts/canvas/example/index.html

@@ -71,7 +71,7 @@ function loadSkeleton (name, initialAnimation, skin) {
 	// Set the scale to apply during parsing, parse the file, and create a new skeleton.
 	// Set the scale to apply during parsing, parse the file, and create a new skeleton.
 	var skeletonData = skeletonJson.readSkeletonData(assetManager.get("assets/" + name + ".json"));
 	var skeletonData = skeletonJson.readSkeletonData(assetManager.get("assets/" + name + ".json"));
 	var skeleton = new spine.Skeleton(skeletonData);
 	var skeleton = new spine.Skeleton(skeletonData);
-	skeleton.flipY = true;
+	skeleton.scaleY = -1;
 	var bounds = calculateBounds(skeleton);
 	var bounds = calculateBounds(skeleton);
 	skeleton.setSkinByName(skin);
 	skeleton.setSkinByName(skin);