Commit c70a62a7 authored by limingzhe's avatar limingzhe

fix: debug

parent ec5af64c
......@@ -404,7 +404,8 @@ export abstract class middleLayerBase extends cc.Component {
const label = labelNode.addComponent(cc.Label);
label.string = str;
bg.width = 200;
let w = str.length * 40 + 50;
bg.width = w;
bg.height = labelNode.height + 20;
cc.tween(tipsNode)
......
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