Commit 90b6a0a3 authored by limingzhe's avatar limingzhe

fix: debug

parent 13764211
...@@ -406,7 +406,7 @@ cc.Class({ ...@@ -406,7 +406,7 @@ cc.Class({
const maxX = this.ProgressBar.width; const maxX = this.ProgressBar.width;
const minX = 0; const minX = 0;
const percent = newX / maxX; let percent = newX / maxX;
if (percent > 1) { if (percent > 1) {
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