1
0
Fork 1
mirror of https://github.com/zen-browser/desktop.git synced 2025-07-10 05:35:29 +02:00

Change event listener from 'DOMContentLoaded' to 'MozAfterPaint' for improved UI responsiveness in ZenCustomizableUI

This commit is contained in:
mr. M 2025-01-21 23:10:48 +01:00
parent 0f6bdcd88d
commit e2b6054b17
No known key found for this signature in database
GPG key ID: CBD57A2AEDBDA1FB

View file

@ -126,7 +126,7 @@ export var ZenCustomizableUI = new (class {
window.CustomizableUI.registerToolbarNode(window.document.getElementById('zen-sidebar-top-buttons'));
window.CustomizableUI.registerToolbarNode(window.document.getElementById('zen-sidebar-icons-wrapper'));
window.addEventListener(
'DOMContentLoaded',
'MozAfterPaint',
() => {
this._dispatchResizeEvent(window);
},