Commit da8166ba authored by limingzhe's avatar limingzhe

fix: debug

parent 436cdc42
......@@ -4468,7 +4468,6 @@ cc.Class({
setOneAnimaSmall(data) {
const rate = (this.hotZoneBg.scale * this.hotZoneBg.width) / this.data.bgItem.rect.width;
const rectNode = new cc.Node();
......@@ -4586,9 +4585,10 @@ cc.Class({
dragonDisplay.playAnimation(animationNames[0], 1);
}
}
this.animaNodeArr.push(animaNode);
}
this.animaNodeArr.push(animaNode);
animaNode.x = rectNode.x + rectNode.width / 2;
animaNode.y = rectNode.y + rectNode.height / 2;
......@@ -4608,6 +4608,8 @@ cc.Class({
},
setOneHotZonePic(data) {
const rate = (this.hotZoneBg.scale * this.hotZoneBg.width) / this.data.bgItem.rect.width;
......
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