Commit 719890d1 authored by linzhiguo's avatar linzhiguo

# 一个分组先放入文本选项再放入图片选项,图片缩放异常

parent 85514490
......@@ -112,8 +112,9 @@ cc.Class({
ot.y = 0;
let item = ot.getComponent(cc.js.getClassByName('WordOption'));
this.show_node.addChild(ot);
item.adjustPicSize();
this.show_node.active = true;
item.adjustPicSize();
this.playAnimation(()=>{
this.show_node.removeAllChildren();
let node = cc.instantiate(cc.find('res/option_item'));
......
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