Commit bafe6fdf authored by yu's avatar yu

1

parent 6fc7d2d8
......@@ -573,7 +573,7 @@ cc.Class({
pg.audio.playAudioByUrlCall(this._stageData.sound).then((id) => {
audioFinished = true;
let time = cc.audioEngine.getDuration(id);
this.showSliderAction(time).then(() => {
this.showSliderAction(1).then(() => {
pg.audio.playAudioByUrlCall(this._stageData.sound, () => {
if (aniFinished && audioFinished) {
this._playing = false;
......@@ -599,7 +599,7 @@ cc.Class({
pg.audio.playAudioByUrlCall(this._stageData.sound).then((id) => {
audioFinished = true;
let time = cc.audioEngine.getDuration(id);
this.showSliderAction(time).then(() => {
this.showSliderAction(1).then(() => {
pg.audio.playAudioByUrlCall(this._stageData.sound, () => {
if (aniFinished && audioFinished) {
this._playing = false;
......@@ -976,7 +976,7 @@ cc.Class({
},
hideRestartBtn() {
console.log('hideRestartBtn');
console.log('hideRestartBtn op49');
const btn = cc.find('Canvas/btn_replay');
if (!btn.canClick) {
return;
......
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