Open suchipi opened 8 years ago
I have the same problem, but it also affect my Mac Book Air's trackpad. I have tried to change the "Scroll Sensitivity" in preference. But it don't help.
+1 is there a setting somewhere?
+1 I'm having the same issue.
same issue
Found lines that are responsable for the Issue
replace
self.scrollDisp(ev.wheelDeltaY > 0 ? -5 : 5)
with
self.scrollDisp(-Math.round(ev.wheelDeltaY/20));
Dont have enough time to PR =(
Locally files can be found
~/.atom/packages/term3/node_modules/atom-term.js/src/term.js:1126
on(el, wheelEvent, function(ev) {
if (self.mouseEvents) return;
if (ev.type === 'DOMMouseScroll') {
self.scrollDisp(ev.detail < 0 ? -5 : 5);
} else {
//
// self.scrollDisp(ev.wheelDeltaY > 0 ? -5 : 5);
// magic mouse / macbook trackbad dirty fix
self.scrollDisp(-Math.round(ev.wheelDeltaY/20));
}
return cancel(ev);
});
Using an Apple Magic Mouse to scroll, the scroll sensitivity is very high. It scrolls about 10 lines per mm I drag my finger across the mouse.
OS X 10.11.3, Atom 1.7.2, term3 0.22.0