Refactor sidebar scrolling initialization and enhance tab visibility checks

This commit is contained in:
mr. M 2025-01-26 23:30:01 +01:00
parent 7077a01dad
commit 3931f8195b
No known key found for this signature in database
GPG key ID: CBD57A2AEDBDA1FB
3 changed files with 62 additions and 8 deletions

View file

@ -0,0 +1,13 @@
diff --git a/toolkit/content/widgets/arrowscrollbox.js b/toolkit/content/widgets/arrowscrollbox.js
index 328c770d275ebbaada8a44438eaf738b1a62d985..1724b7bdba5ed3a82643e07cc3571040ddcf4911 100644
--- a/toolkit/content/widgets/arrowscrollbox.js
+++ b/toolkit/content/widgets/arrowscrollbox.js
@@ -639,7 +639,7 @@
on_wheel(event) {
// Don't consume the event if we can't scroll.
- if (!this.overflowing) {
+ if (!this.overflowing || false) { // we handle this on ZenStartup
return;
}