Add smooth scroll preference for tab startup and adjust visibility logic

This commit is contained in:
mr. M
2025-01-04 00:13:46 +01:00
parent 32e9d6fe72
commit d91c9dc41f
3 changed files with 75 additions and 2 deletions

View File

@@ -34,7 +34,7 @@
}
// Disable smooth scroll
gBrowser.tabContainer.arrowScrollbox.smoothScroll = false;
gBrowser.tabContainer.arrowScrollbox.smoothScroll = Services.prefs.getBoolPref('zen.startup.smooth-scroll-in-tabs', false);
ZenWorkspaces.init();
gZenUIManager.init();