Skip to content

Commit f486990

Browse files
chore: Adjust evaluation
1 parent a4b9d6a commit f486990

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Uno.Wasm.Bootstrap/ts/Uno/WebAssembly/Bootstrapper.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -287,11 +287,11 @@ namespace Uno.WebAssembly.Bootstrap {
287287
// setting the max progress to 100 instead.
288288
if (_previousTotalResources != totalResources)
289289
{
290-
_currentTargetProgress = (100 - _currentTargetProgress) / 2;
291-
_previousTotalResources = totalResources;
290+
this._currentTargetProgress = this._currentTargetProgress + (100 - this._currentTargetProgress) / 2;
291+
this._previousTotalResources = totalResources;
292292
}
293293

294-
(<any>this.progress).value = Math.min(resourcesLoaded, _currentTargetProgress);
294+
(<any>this.progress).value = Math.min(resourcesLoaded, this._currentTargetProgress);
295295
}
296296

297297
private initProgress() {

0 commit comments

Comments
 (0)