Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
K
kyxq_qpy
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
kyxq_qpy
Commits
165364c7
Commit
165364c7
authored
Oct 25, 2023
by
limingzhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: debug
parent
4661c057
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
kyxq_qpy.js
assets/kyxq_qpy/scene/kyxq_qpy.js
+12
-2
No files found.
assets/kyxq_qpy/scene/kyxq_qpy.js
View file @
165364c7
...
...
@@ -2406,8 +2406,14 @@ cc.Class({
// this.videoNode.active = false;
// this.muteVideoNode.active = true;
this
.
videoNode
.
x
=
-
this
.
canvas
.
width
;
// this.videoNode.x = -this.canvas.width;
const
localPos
=
this
.
videoNode
.
parent
.
convertToNodeSpaceAR
(
cc
.
v2
(
-
this
.
canvas
.
width
,
0
));
this
.
videoNode
.
x
=
localPos
.
x
;
this
.
muteVideoNode
.
x
=
this
.
muteVideoNode
.
baseX
;
// }, 1);
// this.videoNode.active = false;
...
...
@@ -2421,7 +2427,11 @@ cc.Class({
// this.videoNode.active = true;
// this.muteVideoNode.active = false;
this
.
videoNode
.
x
=
this
.
videoNode
.
baseX
;
this
.
muteVideoNode
.
x
=
-
this
.
canvas
.
width
;
// this.muteVideoNode.x = -this.canvas.width;
const
localPos
=
this
.
muteVideoNode
.
parent
.
convertToNodeSpaceAR
(
cc
.
v2
(
-
this
.
canvas
.
width
,
0
));
this
.
muteVideoNode
.
x
=
localPos
.
x
;
// }, 1);
// this.videoNode.active = 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