Hi, kataho, thanks for your greate extension.
I am also using Firegestures, and I enable the "Wheel Gestures", when I hold right-button then wheel up or down, I can switch to previous or next tab.
But there a problem, when switch back to original tab, the scroll-bar position was changed, it's annoying. After disable YASS, the problem won't happen.
I think the wheel up/down action also handle by YASS, then YASS scroll up/down the page change the scroll-bar position.
To solved this problem, tell YASS don't handle the wheel event when holding the right-buttong. So I hacked the YASS, just add a line.
Code: Select all
diff --git a/main.js b/main.js
index 38343e0..5d5f3b3 100644
--- a/main.js
+++ b/main.js
@@ -127,6 +127,7 @@ var yass = {
{
if(!this.m_pref.enabled) return;
if(ev.altKey || ev.shiftKey || ev.ctrlKey) return;
+ if(ev.buttons === 2) return;
if(gInPrintPreviewMode == true) return;
It look work fine, but don't know any side effect.
Can you add this feature? skip scrolling when holding right-button.
It is better add an option in preferences dialog.