Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
tx_find_match
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
tx_find_match
Commits
9d27437e
Commit
9d27437e
authored
Mar 28, 2023
by
limingzhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: debug
parent
569c6d04
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
tx_find_match.js
assets/tx_find_match/scene/tx_find_match.js
+3
-0
No files found.
assets/tx_find_match/scene/tx_find_match.js
View file @
9d27437e
...
...
@@ -1507,6 +1507,7 @@ cc.Class({
scorePanel
.
x
=
this
.
canvas
.
width
/
2
-
scorePanel
.
width
/
2
-
5
;
scorePanel
.
y
=
this
.
canvas
.
height
/
2
-
scorePanel
.
height
/
2
-
5
;
this
.
canvas
.
addChild
(
scorePanel
);
scorePanel
.
active
=
false
;
// c05610
const
scoreLabelNode
=
this
.
getRichText
(
"
0
"
,
35
,
"
#ffffff
"
,
"
#c05610
"
,
2
);
...
...
@@ -1515,6 +1516,8 @@ cc.Class({
scorePanel
.
addChild
(
scoreLabelNode
);
this
.
scoreLabel
=
scoreLabelNode
.
getComponent
(
cc
.
RichText
);
},
getLabel
(
text
,
fontSize
=
20
,
isFont
=
true
)
{
...
...
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