Skip to content
Snippets Groups Projects
Commit d2c6961f authored by joni's avatar joni
Browse files

Increase scroll strength

parent e3ac6530
No related branches found
No related tags found
No related merge requests found
......@@ -40,8 +40,8 @@ trackpad_scrolling.prototype = {
return;
}
this.axis[0] = x - this.x;
this.axis[1] = y - this.y;
this.axis[0] = (x - this.x) * 8;
this.axis[1] = (y - this.y) * 8;
this.emittedEventDetail.axis = this.axis;
e.target.emit("scroll", this.emittedEventDetail);
this.x = x;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment