come back progress bar, i miss you
This commit is contained in:
parent
8a0b9d2e8d
commit
b50b6f0ce4
1 changed files with 2 additions and 1 deletions
|
@ -39,12 +39,13 @@ const _monitorProgress = (bb, oncheck = null) => {
|
|||
|
||||
oncheck && oncheck(data);
|
||||
|
||||
layer.clear();
|
||||
|
||||
// Draw Progress Bar
|
||||
layer.ctx.fillStyle = "#5F5";
|
||||
layer.ctx.fillRect(1, 1, bb.w * data.progress, 10);
|
||||
|
||||
// Draw Progress Text
|
||||
layer.clear();
|
||||
layer.ctx.fillStyle = "#FFF";
|
||||
|
||||
layer.ctx.fillRect(0, 15, 60, 25);
|
||||
|
|
Loading…
Reference in a new issue