Commit 770945aa authored by liujiangnan's avatar liujiangnan

修改BUG

parent 852c9409
......@@ -1013,7 +1013,7 @@ export class PlayComponent implements OnInit, OnDestroy {
words_content_right.fontColor = '#fdcd00';
words_content_right.refreshSize();
words_bg_right.addChild(words_content_right);
words_bg_right.setRadius(words_content.width/3*2);
words_bg_right.setRadius(words_content_right.width/3*2);
let scale_r = getMinScale(words_bg_right, 80)*this.mapScale;
words_bg_right.setScaleXY(scale_r);
this.body_bg.addChild(words_bg_right);
......
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