Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
ym009
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
template admin
ym009
Commits
f89f926b
Commit
f89f926b
authored
Feb 22, 2020
by
liujiangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
圈里的字体缩放
parent
689d13b1
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
108 additions
and
104 deletions
+108
-104
form.component.html
src/app/form/form.component.html
+102
-102
play.component.ts
src/app/play/play.component.ts
+6
-2
No files found.
src/app/form/form.component.html
View file @
f89f926b
This diff is collapsed.
Click to expand it.
src/app/play/play.component.ts
View file @
f89f926b
...
@@ -995,7 +995,9 @@ export class PlayComponent implements OnInit, OnDestroy {
...
@@ -995,7 +995,9 @@ export class PlayComponent implements OnInit, OnDestroy {
words_content
.
fontColor
=
'
#ab5a23
'
;
words_content
.
fontColor
=
'
#ab5a23
'
;
words_content
.
refreshSize
();
words_content
.
refreshSize
();
words_bg
.
addChild
(
words_content
);
words_bg
.
addChild
(
words_content
);
words_bg
.
setScaleXY
(
this
.
mapScale
);
words_bg
.
setRadius
(
words_content
.
width
/
3
*
2
);
let
scale
=
getMinScale
(
words_bg
,
80
)
*
this
.
mapScale
words_bg
.
setScaleXY
(
scale
);
const
words_bg_right
=
new
ShapeCircle
();
const
words_bg_right
=
new
ShapeCircle
();
words_bg_right
.
setRadius
(
50
);
words_bg_right
.
setRadius
(
50
);
...
@@ -1011,7 +1013,9 @@ export class PlayComponent implements OnInit, OnDestroy {
...
@@ -1011,7 +1013,9 @@ 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
.
setScaleXY
(
this
.
mapScale
);
words_bg_right
.
setRadius
(
words_content
.
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
);
this
.
body_bg
.
addChild
(
words_bg
);
this
.
words_bg
=
words_bg
;
this
.
words_bg
=
words_bg
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment