Commit 058ddcbd authored by liujiangnan's avatar liujiangnan

cd

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