Commit 03a73ffa authored by Chen Jiping's avatar Chen Jiping

fix:修复点击拍照按钮没有结束当前播放音频的问题

parent 9d647fe5
...@@ -967,6 +967,10 @@ cc.Class({ ...@@ -967,6 +967,10 @@ cc.Class({
showPhotoTip() { showPhotoTip() {
if (this._audioId) {
cc.audioEngine.pause(this._audioId);
}
this.maskNode.active = true; this.maskNode.active = true;
playAudio(this.audioOsmoTip.clip); playAudio(this.audioOsmoTip.clip);
this.playAni('begin', 0) this.playAni('begin', 0)
......
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