mirror of
https://github.com/zen-browser/desktop.git
synced 2026-01-02 03:22:39 +00:00
feat: Set opacity for glance before animating to avoid flashing, b=no-bug, c=glance
This commit is contained in:
@@ -485,6 +485,7 @@
|
||||
// nice fade-in effect to the content. But if it doesn't exist,
|
||||
// we just fall back to always showing the browser directly.
|
||||
if (data.elementData) {
|
||||
this.contentWrapper.style.opacity = 0;
|
||||
gZenUIManager.motion
|
||||
.animate(
|
||||
this.contentWrapper,
|
||||
|
||||
Reference in New Issue
Block a user