Commit 0e764b76 authored by limingzhe's avatar limingzhe

fix: debug

parent d6d706a2
This diff is collapsed.
......@@ -782,7 +782,10 @@ cc.Class({
this.initVideo();
setTimeout(() => {
this.showComposeBtn();
}, 5000);
},
......@@ -1838,7 +1841,10 @@ cc.Class({
this.composeBtn.active = true;
this.composeBtn.parent.active = true;
this.addBtnAppearAnim(this.composeBtn.parent);
const videoBg = cc.find("Canvas/hose/video_bg")
this.addBtnAppearAnim(this.composeBtn);
this.playAni('begin', 0);
this.setCurTipAudioUrl(this.data.compose_audio_url);
......@@ -2408,14 +2414,14 @@ cc.Class({
composeBtn: null,
initComposeBtn() {
this.composeBtn = cc.find('Canvas/house/videoCtrl/composeBtn');
this.composeBtn = cc.find('Canvas/house/composeNode/composeBtn');
this.composeBtn.active = false;
const pos = exchangeNodePos(this.canvas, this.composeBtn);
this.composeBtn.x = pos.x;
this.composeBtn.y = pos.y;
this.composeBtn.parent = this.canvas;
this.composeBtn.zIndex = 15;
// const pos = exchangeNodePos(this.canvas, this.composeBtn);
// this.composeBtn.x = pos.x;
// this.composeBtn.y = pos.y;
// this.composeBtn.parent = this.canvas;
// this.composeBtn.zIndex = 15;
this.composeBtn.on('touchstart', () => {
if (!this.composeBtn.active) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment