mirror of
https://github.com/zen-browser/desktop.git
synced 2026-08-19 05:01:33 +00:00
chore: Fix visibility issue when zap animation plays
This commit is contained in:
@@ -197,10 +197,10 @@ export class ZapOverlay {
|
||||
this.onZapUpdate();
|
||||
|
||||
this.window.requestAnimationFrame(() => {
|
||||
element.style.visibility = "initial";
|
||||
element.style.removeProperty("opacity");
|
||||
});
|
||||
});
|
||||
element.style.visibility = "hidden";
|
||||
element.style.setProperty("opacity", "0", "!important");
|
||||
});
|
||||
});
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user