Skip to content
Snippets Groups Projects
Commit c4741be4 authored by ambient.impact's avatar ambient.impact
Browse files

Issue #3488464: Removed unnecessary ProgressBar~#transitionOut() method.

parent e0e5f1f3
No related branches found
No related tags found
1 merge request!10Issue #3488464: Implemented our own progress bar; removed Turbo progress
......@@ -148,7 +148,13 @@
return new Promise(async (resolve, reject) => {
await this.#transitionOut();
this.#setInactive();
await new Promise((resolve, reject) => {
window.setTimeout(resolve, this.#transitionDuration * 1.5);
});
this.uninstall();
this.#visible = false;
......@@ -182,24 +188,6 @@
}
/**
* Transition the progress bar out.
*
* @return {Promise}
* A Promise that resolves when the transition is considered complete.
*/
#transitionOut() {
this.#setInactive();
return new Promise((resolve, reject) => {
window.setTimeout(resolve, this.#transitionDuration * 1.5);
});
}
/**
* Explicitly set the progress bar to a value.
*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment