Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OP15
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
OP15
Commits
de3691c8
Commit
de3691c8
authored
3 years ago
by
liujiaxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'111'
parent
d701a351
master
v46
v45
v44
v43
v42
v41
v39
v38
v37
v36
v35
v34
v33
v32
v30
v29
v28
v27
v26
v25
v24
v23
v22
v21
v20
v19
v18
v17
v16
v15
v14
v13
v12
v11
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
OP15.js
play/assets/OP15/scene/OP15.js
+1
-1
No files found.
play/assets/OP15/scene/OP15.js
View file @
de3691c8
...
...
@@ -589,7 +589,7 @@ cc.Class({
if
(
block
.
gIdx
==
'
2
'
)
{
const
s1
=
((
ground
.
width
/
block
.
imgSizeW
)
+
(
ground
.
height
/
block
.
imgSizeH
))
/
2
const
node
=
new
cc
.
Node
();
node
.
parent
=
ground
Bg
;
node
.
parent
=
ground
;
const
spr
=
node
.
addComponent
(
cc
.
Sprite
);
getSpriteFrimeByUrl
(
block
.
pic_url
,
(
sf
)
=>
{
spr
.
spriteFrame
=
sf
;
...
...
This diff is collapsed.
Click to expand it.
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