Skip to content
Permalink
Browse files

Add el to virtualscroll options

  • Loading branch information...
antoineboulanger committed Jul 30, 2019
1 parent 89e38fc commit 026affc16ff6b00ba8fff40a5d786378e2c5f044
@@ -1136,6 +1136,7 @@ function (_Core) {
}
}, this.instance);
this.vs = new src({
el: this.el,
mouseMultiplier: navigator.platform.indexOf('Win') > -1 ? 1 : 0.4,
touchMultiplier: 4,
firefoxMultiplier: 30
@@ -1142,6 +1142,7 @@
}
}, this.instance);
this.vs = new src({
el: this.el,
mouseMultiplier: navigator.platform.indexOf('Win') > -1 ? 1 : 0.4,
touchMultiplier: 4,
firefoxMultiplier: 30

Large diffs are not rendered by default.

Large diffs are not rendered by default.

@@ -33,6 +33,7 @@ export default class extends Core {
}

this.vs = new virtualScroll({
el: this.el,
mouseMultiplier: (navigator.platform.indexOf('Win') > -1) ? 1 : 0.4,
touchMultiplier: 4,
firefoxMultiplier: 30

0 comments on commit 026affc

Please sign in to comment.
You can’t perform that action at this time.