Commit 006a312e authored by limingzhe's avatar limingzhe

fix: debug

parent cac2f991
...@@ -1392,7 +1392,7 @@ cc.Class({ ...@@ -1392,7 +1392,7 @@ cc.Class({
quesBg.y = this.canvas.height + quesBg.height * quesBg.scale; quesBg.y = this.canvas.height + quesBg.height * quesBg.scale;
// const label = this.getRichText("你好吗aaaa", 100, "#2e4190", "#ffffff", 0); // const label = this.getRichText("你好吗aaaa", 100, "#2e4190", "#ffffff", 0);
const labelNode = this.getLabel("你好吗", 100, false); const labelNode = this.getLabel("", 100, false);
labelNode.color = cc.Color.fromHEX(new cc.Color(), '#2e4190') labelNode.color = cc.Color.fromHEX(new cc.Color(), '#2e4190')
labelNode.y = -quesBg.height * quesBg.anchorY + 250; labelNode.y = -quesBg.height * quesBg.anchorY + 250;
this.quesLabel = labelNode.getComponent(cc.Label); this.quesLabel = labelNode.getComponent(cc.Label);
......
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