From e7456fd328e310bd35a23eacf07133bb662a9c88 Mon Sep 17 00:00:00 2001 From: Ethan Warth Date: Wed, 5 Aug 2026 20:20:47 -0500 Subject: [PATCH] fixed issue that prevented mouse wheel from scrolling multiline tabs It's possible that this entire code block could be removed without negative repercussions, so long as an XML element with the box-inherit and scrollbox-innerbox classes always exists regardless of configuration settings. I have not dug into the code to check whether or not this is the case, so I added a second exception for not returning null for multi-line tab configs. --- src/content/tabkit.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/content/tabkit.ts b/src/content/tabkit.ts index 32a17f1..184356c 100644 --- a/src/content/tabkit.ts +++ b/src/content/tabkit.ts @@ -501,7 +501,10 @@ this.VerticalTabBarScrollbar = this.VerticalTabBarScrollbar || {} this.VerticalTabBarScrollbar.getElement = function () { - if (!tk.TabBar.Mode.getIsVerticalMode()) { + if (!tk.TabBar.Mode.getIsVerticalMode() && !( + (_prefs.getIntPref("tabbarPosition") === tk.Positions.TOP || + _prefs.getIntPref("tabbarPosition") === tk.Positions.BOTTOM) && + _prefs.getIntPref("tabRows")) > 1) { return null }