Commit 92fde8ad authored by asdf's avatar asdf

背景位置bug

parent 7e28a0df
......@@ -140,7 +140,7 @@ cc.Class({
// this.data.text = 'I am flying';
this.sprBg.node.y = 0;
this.dragonBone.node.y = 0;
if (!this.data.text) {
if (this.data.text) {
this.sprBg.node.y = 40;
this.dragonBone.node.y = 40;
return;
......
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