mirror of
https://github.com/zen-browser/desktop.git
synced 2025-07-08 17:39:59 +02:00
fix(build): disable LTO temporarily and enable PGO based on release settings
refactor(ui): remove unnecessary DOMContentLoaded listener from toolbar registration fix(ui): trigger window resize event on closing watermark to recalculate layout refactor(ui): improve animation structure for tab content in vertical tabs manager
This commit is contained in:
parent
9406515f91
commit
b6477b17d8
6 changed files with 51 additions and 32 deletions
|
@ -58,6 +58,7 @@
|
|||
|
||||
closeWatermark() {
|
||||
document.documentElement.removeAttribute('zen-before-loaded');
|
||||
window.dispatchEvent(new window.Event('resize')); // To recalculate the layout
|
||||
if (Services.prefs.getBoolPref('zen.watermark.enabled', false)) {
|
||||
gZenUIManager.motion
|
||||
.animate(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue