Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OP_18
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
OP_18
Commits
ca9e2e33
Commit
ca9e2e33
authored
Oct 27, 2022
by
limingzhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: debug
parent
fcd06702
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
9 deletions
+15
-9
OP_18.js
assets/OP_18/scene/OP_18.js
+15
-9
No files found.
assets/OP_18/scene/OP_18.js
View file @
ca9e2e33
...
...
@@ -1968,7 +1968,7 @@ cc.Class({
photoEnd
(
data
,
isPool
=
false
)
{
console
.
log
(
'
this.photo end
'
,
data
);
//
console.log(' this.photo end ', data);
if
(
!
this
.
canTouch
&&
isPool
==
false
)
{
this
.
dataPool
.
push
(
data
);
...
...
@@ -2818,7 +2818,6 @@ cc.Class({
}
this
.
benchmark1LabelData
=
benchmark1LabelData
;
console
.
log
(
'
benchmark1LabelData:
'
,
benchmark1LabelData
);
if
(
this
.
firstItemData
)
{
...
...
@@ -3587,13 +3586,20 @@ cc.Class({
rect
.
width
*=
this
.
debugBgImg
.
width
;
rect
.
height
*=
this
.
debugBgImg
.
height
;
const
node
=
getSprNode
(
color
);
node
.
anchorX
=
0
;
node
.
anchorY
=
0
;
node
.
x
=
rect
.
x
;
node
.
y
=
rect
.
y
;
node
.
scaleX
=
rect
.
width
/
node
.
width
;
node
.
scaleY
=
rect
.
height
/
node
.
height
;
let
node
=
new
cc
.
Node
();
if
(
this
.
debugLayer
.
parent
&&
this
.
debugLayer
.
active
)
{
node
=
getSprNode
(
color
);
node
.
anchorX
=
0
;
node
.
anchorY
=
0
;
node
.
x
=
rect
.
x
;
node
.
y
=
rect
.
y
;
node
.
scaleX
=
rect
.
width
/
node
.
width
;
node
.
scaleY
=
rect
.
height
/
node
.
height
;
}
node
.
ccRect
=
new
cc
.
Rect
(
rect
.
x
,
rect
.
y
,
rect
.
width
,
rect
.
height
);
...
...
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