[Pkg-mozext-commits] [tabmixplus] 37/48: Firefox 57+ uses both smooth scroll and scrollDelay (see tabstrip._startScroll)

David Prévot taffit at moszumanska.debian.org
Sun Aug 20 03:14:37 UTC 2017


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository tabmixplus.

commit 2fcf526699ab289c2028b347511d0574a791521c
Author: onemen <tabmix.onemen at gmail.com>
Date:   Tue Aug 15 22:24:16 2017 +0300

    Firefox 57+ uses both smooth scroll and scrollDelay (see tabstrip._startScroll)
---
 chrome/content/preferences/appearance.js | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/chrome/content/preferences/appearance.js b/chrome/content/preferences/appearance.js
index 74f27b1..ba5f4e5 100644
--- a/chrome/content/preferences/appearance.js
+++ b/chrome/content/preferences/appearance.js
@@ -68,6 +68,11 @@ var gAppearancePane = {
       hbox.setAttribute("align", "center");
     }
 
+    // Firefox 57+ uses both smooth scroll and scrollDelay (see tabstrip._startScroll)
+    if (Tabmix.isVersion(570)) {
+      gPrefWindow.removeChild("obs_smoothScroll");
+    }
+
     gPrefWindow.initPane("paneAppearance");
     // call this function after initPane
     // we update some broadcaster that initPane may reset

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/tabmixplus.git



More information about the Pkg-mozext-commits mailing list