Enhance ZenStartup and ZenThemesImporter for improved animation and URL matching; update migration version in ZenUIMigration for future enhancements

This commit is contained in:
mr. M
2025-02-22 09:44:46 +01:00
parent faf136756c
commit 87fc6c8a73
3 changed files with 17 additions and 5 deletions

View File

@@ -58,7 +58,7 @@
if (Services.prefs.getBoolPref('zen.watermark.enabled', false)) {
gZenUIManager.motion
.animate(
'#browser > *, #urlbar',
'#browser > *, #urlbar, #tabbrowser-tabbox > *',
{
opacity: [0, 1],
},
@@ -68,7 +68,7 @@
}
)
.then(() => {
for (let elem of document.querySelectorAll('#browser > *, #urlbar')) {
for (let elem of document.querySelectorAll('#browser > *, #urlbar, #tabbrowser-tabbox > *')) {
elem.style.removeProperty('opacity');
}
});