Commit b7be1bd5 authored by Chen Jiping's avatar Chen Jiping

完善

parent 781def4d
...@@ -849,11 +849,9 @@ export class PlayComponent implements OnInit, OnDestroy { ...@@ -849,11 +849,9 @@ export class PlayComponent implements OnInit, OnDestroy {
content_val.refreshSize(); content_val.refreshSize();
setRectFontSize(parItem.width - 25 * this.mapScale, parItem.height - 25 * this.mapScale, content_val); content_val.setMaxSize(parItem.width - 20 * this.mapScale);
content_val.refreshSize(); content_val.x = - content_val.getBoundingBox().width / 2;
content_val.x = - content_val.getBoundingBox().width / 2 + 5 * this.mapScale;
parItem.addChild(content_val); parItem.addChild(content_val);
......
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