Commit 02c5b45e authored by liujiangnan's avatar liujiangnan

debug

parent 615756ce
......@@ -320,10 +320,12 @@ export default class NewClass extends cc.Component {
const sy = 179 / picNode.height;
picNode.scale = Math.min(sx, sy);
});
cc.find("word", itemClone).getComponent(cc.Label).string = word.text;
} else {
itemClone.height = 45;
cc.find("pic", itemClone).active = false;
cc.find("word", itemClone).getComponent(cc.Label).string = word.text;
cc.find("word", itemClone).y = 0;
}
}
} else {
......
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