Skip to content

Commit

Permalink
remove flip from demo
Browse files Browse the repository at this point in the history
  • Loading branch information
flyover committed Jan 26, 2016
1 parent 73183bf commit cf51f51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions demo/render-ctx2d.js
Original file line number Diff line number Diff line change
Expand Up @@ -465,8 +465,8 @@ renderCtx2D.prototype.drawDebugData = function(spine_pose, atlas_data) {
function ctxApplySpace(ctx, space) {
if (space) {
ctx.translate(space.position.x, space.position.y);
ctx.rotate(space.rotation.rad * space.flip.x * space.flip.y);
ctx.scale(space.scale.x * space.flip.x, space.scale.y * space.flip.y);
ctx.rotate(space.rotation.rad);
ctx.scale(space.scale.x, space.scale.y);
}
}

Expand Down

0 comments on commit cf51f51

Please sign in to comment.