Skip to content

Commit

Permalink
fixed starting animation typo in demo
Browse files Browse the repository at this point in the history
  • Loading branch information
flyover committed Apr 5, 2016
1 parent 4d57357 commit a079ff1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demo/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ main.start = function() {
spine_pose.setSkin(skin_key);
spine_pose_next.setSkin(skin_key);
var anim_keys = spine_data.anim_keys;
var anim_key = skin_keys[anim_index = 0];
var anim_key = anim_keys[anim_index = 0];
spine_pose.setAnim(anim_key);
var anim_key_next = anim_keys[(anim_index + 1) % anim_keys.length];
spine_pose_next.setAnim(anim_key_next);
Expand Down

0 comments on commit a079ff1

Please sign in to comment.