Commit 56d3fee4 authored by 范雪寒's avatar 范雪寒

feat: showlog

parent dd9f88fc
...@@ -271,8 +271,8 @@ cc.Class({ ...@@ -271,8 +271,8 @@ cc.Class({
const label = node.addComponent(cc.RichText); const label = node.addComponent(cc.RichText);
label.string = `<outline color=black width=3>${str}</outline>`; label.string = `<outline color=black width=3>${str}</outline>`;
label.maxWidth = this.node.width / 2; label.maxWidth = this.node.width / 2;
node.x = this.node.width / 2; // node.x = this.node.width / 2;
node.y = this.node.height / 2; node.y = -this.node.height / 2;
node.parent = this.node; node.parent = this.node;
cc.tween(node) cc.tween(node)
.to(5, { y: this.node.height }) .to(5, { y: this.node.height })
......
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