[Pkg-mozext-commits] [tabmixplus] 24/56: Follow up bug 1251987 - The list of tabs is scrolled by very small number of tabs when I rotate mouse wheel (with setting "scroll by 1 page")
David Prévot
taffit at moszumanska.debian.org
Mon Jun 6 00:02:34 UTC 2016
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository tabmixplus.
commit 5f26eb0960fda02ade1f21a9452e096710f7c59a
Author: onemen <tabmix.onemen at gmail.com>
Date: Thu May 12 12:38:22 2016 +0300
Follow up bug 1251987 - The list of tabs is scrolled by very small number of tabs when I rotate mouse wheel (with setting "scroll by 1 page")
---
chrome/content/tabmix.js | 3 +++
1 file changed, 3 insertions(+)
diff --git a/chrome/content/tabmix.js b/chrome/content/tabmix.js
index f320184..ef1447c 100644
--- a/chrome/content/tabmix.js
+++ b/chrome/content/tabmix.js
@@ -1013,6 +1013,9 @@ var TMP_eventListener = {
if (Tabmix.isVersion(480) &&
aEvent.deltaMode == aEvent.DOM_DELTA_PIXEL) {
tabStrip.scrollByPixels(delta);
+ } else if (Tabmix.isVersion(490) &&
+ aEvent.deltaMode == aEvent.DOM_DELTA_PAGE) {
+ tabStrip.scrollByPage(delta);
} 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