Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hw_elimination_letter
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
hw_elimination_letter
Commits
004bab91
Commit
004bab91
authored
Jun 19, 2023
by
limingzhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: debug
parent
bf1333e4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
hw_elimination_letter.js
assets/hw_elimination_letter/scene/hw_elimination_letter.js
+7
-4
No files found.
assets/hw_elimination_letter/scene/hw_elimination_letter.js
View file @
004bab91
...
...
@@ -3114,10 +3114,6 @@ cc.Class({
const
label
=
labelNode
.
addComponent
(
cc
.
RichText
);
label
.
string
=
`<outline color=
${
outlineColor
}
width=
${
outlineWidth
}
><color=
${
color
}
><size=
${
fontSize
}
>
${
text
}
</></color></outline>`
if
(
isBlod
)
{
label
.
string
=
`<b>
${
label
.
string
}
</b>`
}
labelNode
.
color
=
cc
.
Color
.
BLACK
;
// label.fontSize = fontSize;
...
...
@@ -3134,6 +3130,13 @@ cc.Class({
if
(
isFont
)
{
label
.
font
=
cc
.
find
(
'
Canvas/res/font/MMTB
'
).
getComponent
(
cc
.
Label
).
font
;
}
label
.
string
=
`<outline color=
${
outlineColor
}
width=
${
outlineWidth
}
><color=
${
color
}
><size=
${
fontSize
}
>
${
text
}
</></color></outline>`
if
(
isBlod
)
{
label
.
string
=
`<b>
${
label
.
string
}
</b>`
}
return
labelNode
;
},
...
...
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