Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hw_lettersort
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_lettersort
Commits
e237b212
Commit
e237b212
authored
Aug 02, 2023
by
limingzhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: debug
parent
9a2230e1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
hw_lettersort.js
assets/hw_lettersort/scene/hw_lettersort.js
+1
-1
No files found.
assets/hw_lettersort/scene/hw_lettersort.js
View file @
e237b212
...
@@ -1384,7 +1384,7 @@ cc.Class({
...
@@ -1384,7 +1384,7 @@ cc.Class({
const
maxW
=
this
.
canvas
.
width
*
0.97
*
0.95
;
const
maxW
=
this
.
canvas
.
width
*
0.97
*
0.95
;
if
(
totalW
>
maxW
)
{
if
(
totalW
>
maxW
)
{
this
.
letterLayer
.
scale
=
maxW
/
totalW
;
this
.
letterLayer
.
scale
=
maxW
/
totalW
;
totalW
=
maxW
;
//
totalW = maxW;
}
else
{
}
else
{
this
.
letterLayer
.
scale
=
1
;
this
.
letterLayer
.
scale
=
1
;
}
}
...
...
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