mirror of
https://github.com/zen-browser/components.git
synced 2025-07-08 06:29:59 +02:00
Refactor ZenGlanceManager.mjs to prevent opening multiple glances when animation is in progress or there is no current browser
Refactor ZenWorkspaces.mjs to update the save dialog with a randomly selected icon
This commit is contained in:
parent
5eb4fb0d0d
commit
5daa3ffa53
2 changed files with 17 additions and 1 deletions
|
@ -136,7 +136,7 @@
|
|||
}
|
||||
|
||||
closeGlance({ noAnimation = false } = {}) {
|
||||
if (this.#animating) {
|
||||
if (this.#animating || !this.#currentBrowser) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue