Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
YM4-10
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
YM4-10
Commits
a5287492
Commit
a5287492
authored
Oct 14, 2020
by
Chen Jiping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:修得显示问题
parent
eb739375
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Exercises.ts
src/app/play/Exercises.ts
+3
-3
No files found.
src/app/play/Exercises.ts
View file @
a5287492
...
@@ -162,9 +162,9 @@ export class Exercises {
...
@@ -162,9 +162,9 @@ export class Exercises {
letterObj
.
isFill
=
letter
.
isFill
;
letterObj
.
isFill
=
letter
.
isFill
;
wordObj
.
letterArr
.
push
(
letterObj
);
wordObj
.
letterArr
.
push
(
letterObj
);
let
w
=
Math
.
ceil
(
label
.
getBoundingBox
().
width
);
let
w
=
Math
.
ceil
(
label
.
width
);
tH
=
Math
.
ceil
(
label
.
getBoundingBox
().
height
);
tH
=
Math
.
ceil
(
label
.
height
);
let
dw
=
3
;
let
dw
=
3
;
...
@@ -178,7 +178,7 @@ export class Exercises {
...
@@ -178,7 +178,7 @@ export class Exercises {
let
underLine
=
new
Line
();
let
underLine
=
new
Line
();
underLine
.
lineColor
=
"
#858585
"
;
underLine
.
lineColor
=
"
#858585
"
;
underLine
.
lineWidth
=
3
;
underLine
.
lineWidth
=
3
;
underLine
.
y
=
label
.
y
+
label
.
getBoundingBox
().
height
/
2
;
underLine
.
y
=
label
.
y
+
label
.
height
/
2
;
underLine
.
x
=
startX
;
underLine
.
x
=
startX
;
underLine
.
setLine
(
w
);
underLine
.
setLine
(
w
);
parent
.
addChild
(
underLine
);
parent
.
addChild
(
underLine
);
...
...
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