Skip to content

Commit

Permalink
fixed y down bug
Browse files Browse the repository at this point in the history
  • Loading branch information
akdcl committed Jun 27, 2018
1 parent 8328cdf commit d6479aa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions DragonBones/src/dragonBones/armature/Bone.ts
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,10 @@ namespace dragonBones {
if (flipX !== flipY || boneData.inheritReflection) {
global.skew += Math.PI;
}

if (!dragonBones.DragonBones.yDown) {
global.skew = -global.skew;
}
}

global.rotation = rotation;
Expand Down

0 comments on commit d6479aa

Please sign in to comment.