Commit 6700d3db authored by limingzhe's avatar limingzhe

fix: debug

parent 7fa6814a
......@@ -412,7 +412,7 @@ cc.Class({
}
this.currentTimeLabel.string = this.formatTime(ct);
const dur = this.videoPlayer.getDuration();
const percent = ct / dur;
let percent = ct / dur;
if (percent > 1) {
percent = 1
}
......
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