[Pkg-mozext-commits] [tabmixplus] 39/147: Follow up bug 1316505 - Tabbar scrolls too fast with wheel supporting high resolution scroll on Windows

David Prévot taffit at moszumanska.debian.org
Sat Aug 5 15:27:34 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 73d0b406055b43d215c685326b480e0ab5a49d01
Author: onemen <tabmix.onemen at gmail.com>
Date:   Wed Nov 30 21:56:35 2016 +0200

    Follow up bug 1316505 - Tabbar scrolls too fast with wheel supporting high resolution scroll on Windows
---
 chrome/content/tabmix.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chrome/content/tabmix.js b/chrome/content/tabmix.js
index f7b3def..7722275 100644
--- a/chrome/content/tabmix.js
+++ b/chrome/content/tabmix.js
@@ -1027,7 +1027,7 @@ var TMP_eventListener = {
           tabStrip.scrollByPixels(delta);
         } else if (Tabmix.isVersion(490) &&
             aEvent.deltaMode == aEvent.DOM_DELTA_PAGE) {
-          tabStrip.scrollByPage(delta);
+          tabStrip.scrollByPixels(delta * tabStrip.scrollClientSize);
         } else {
           // scroll the tabbar by one tab
           if (orient == "horizontal" || TabmixTabbar.isMultiRow) {

-- 
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