Commit 628f05a1 authored by 李维's avatar 李维

Bug fix

parent 0b690fc9
...@@ -413,8 +413,10 @@ class DragonBones { ...@@ -413,8 +413,10 @@ class DragonBones {
} }
stopDragonBones() { stopDragonBones() {
if(this._animationLoaded.armature()) {
this._animationLoaded.armature().animation.stop(); this._animationLoaded.armature().animation.stop();
} }
}
showDragonBones(times = 1, animaName, callBack) { showDragonBones(times = 1, animaName, callBack) {
let animaNameIndex = this._animationLoaded.animaNames.indexOf(animaName) let animaNameIndex = this._animationLoaded.animaNames.indexOf(animaName)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment