Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cc_mz_write_02
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
cc_mz_write_02
Commits
d432e387
Commit
d432e387
authored
Oct 24, 2022
by
limingzhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: debug
parent
ca221bfe
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
cc_mz_write_02.js
assets/cc_mz_write_02/scene/cc_mz_write_02.js
+9
-9
No files found.
assets/cc_mz_write_02/scene/cc_mz_write_02.js
View file @
d432e387
...
@@ -511,10 +511,10 @@ cc.Class({
...
@@ -511,10 +511,10 @@ cc.Class({
//调起检测
//调起检测
startTesting
()
{
startTesting
()
{
this
.
getPhotoData
((
data
)
=>
{
//
this.getPhotoData((data) => {
this
.
photoEnd
(
data
);
//
this.photoEnd(data);
});
//
});
return
;
//
return;
const
cw
=
window
.
courseware
;
const
cw
=
window
.
courseware
;
...
@@ -4599,10 +4599,10 @@ cc.Class({
...
@@ -4599,10 +4599,10 @@ cc.Class({
const
sx
=
rectNode
.
width
/
animaNode
.
width
;
const
sx
=
rectNode
.
width
/
animaNode
.
width
;
const
sy
=
rectNode
.
height
/
animaNode
.
height
;
const
sy
=
rectNode
.
height
/
animaNode
.
height
;
const
scale
=
Math
.
min
(
sx
,
sy
);
const
scale
=
Math
.
min
(
sx
,
sy
);
animaNode
.
scale
=
scale
;
//
animaNode.scale = scale;
//
animaNode.active = false;
animaNode
.
active
=
false
;
animaNode
.
opacity
=
20
;
//
animaNode.opacity = 20;
});
});
...
@@ -4615,8 +4615,8 @@ cc.Class({
...
@@ -4615,8 +4615,8 @@ cc.Class({
const
animationNames
=
animaNode
.
animationNames
;
const
animationNames
=
animaNode
.
animationNames
;
const
dragonDisplay
=
animaNode
.
dragonDisplay
;
const
dragonDisplay
=
animaNode
.
dragonDisplay
;
//
animaNode.active = true;
animaNode
.
active
=
true
;
animaNode
.
opacity
=
255
;
//
animaNode.opacity = 255;
if
(
dragonDisplay
&&
animationNames
&&
animationNames
.
length
>
0
)
{
if
(
dragonDisplay
&&
animationNames
&&
animationNames
.
length
>
0
)
{
dragonDisplay
.
playAnimation
(
animationNames
[
0
],
1
);
dragonDisplay
.
playAnimation
(
animationNames
[
0
],
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