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

lint

parent 7a12c06f
No related branches found
No related tags found
No related merge requests found
...@@ -25,10 +25,9 @@ trackpad_scrolling.prototype = { ...@@ -25,10 +25,9 @@ trackpad_scrolling.prototype = {
this.el.removeEventListener(this.move, this.onMove); this.el.removeEventListener(this.move, this.onMove);
this.el.removeEventListener(this.end, this.onEnd); this.el.removeEventListener(this.end, this.onEnd);
}, },
onStart: function(e) { onStart: function() {
this.isScrolling = true; this.isScrolling = true;
}, },
onMove: function(e) { onMove: function(e) {
if (!this.isScrolling) return; if (!this.isScrolling) return;
const x = e.detail.axis[0]; const x = e.detail.axis[0];
...@@ -47,7 +46,6 @@ trackpad_scrolling.prototype = { ...@@ -47,7 +46,6 @@ trackpad_scrolling.prototype = {
this.x = x; this.x = x;
this.y = y; this.y = y;
}, },
onEnd: function() { onEnd: function() {
this.isScrolling = false; this.isScrolling = false;
this.x = -10; this.x = -10;
......
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