Skip to content

Commit

Permalink
build dist
Browse files Browse the repository at this point in the history
  • Loading branch information
vojtesaak committed Jul 10, 2018
1 parent 3857f55 commit 291bbca
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 1 deletion.
5 changes: 5 additions & 0 deletions dist/perfect-scrollbar.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -956,6 +956,10 @@ var touch = function(i) {
if (!shouldHandle(e)) {
return;
}
console.log("test");
if (!i.settings.swipePropagation) {
e.stopPropagation();
}

var touch = getTouch(e);

Expand Down Expand Up @@ -1098,6 +1102,7 @@ var defaultSettings = function () { return ({
suppressScrollX: false,
suppressScrollY: false,
swipeEasing: true,
swipePropagation: true,
useBothWheelAxes: false,
wheelPropagation: true,
wheelSpeed: 1,
Expand Down
5 changes: 5 additions & 0 deletions dist/perfect-scrollbar.esm.js
Original file line number Diff line number Diff line change
Expand Up @@ -954,6 +954,10 @@ var touch = function(i) {
if (!shouldHandle(e)) {
return;
}
console.log("test");
if (!i.settings.swipePropagation) {
e.stopPropagation();
}

var touch = getTouch(e);

Expand Down Expand Up @@ -1096,6 +1100,7 @@ var defaultSettings = function () { return ({
suppressScrollX: false,
suppressScrollY: false,
swipeEasing: true,
swipePropagation: true,
useBothWheelAxes: false,
wheelPropagation: true,
wheelSpeed: 1,
Expand Down
5 changes: 5 additions & 0 deletions dist/perfect-scrollbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -960,6 +960,10 @@ var touch = function(i) {
if (!shouldHandle(e)) {
return;
}
console.log("test");
if (!i.settings.swipePropagation) {
e.stopPropagation();
}

var touch = getTouch(e);

Expand Down Expand Up @@ -1102,6 +1106,7 @@ var defaultSettings = function () { return ({
suppressScrollX: false,
suppressScrollY: false,
swipeEasing: true,
swipePropagation: true,
useBothWheelAxes: false,
wheelPropagation: true,
wheelSpeed: 1,
Expand Down
2 changes: 1 addition & 1 deletion dist/perfect-scrollbar.min.js

Large diffs are not rendered by default.

0 comments on commit 291bbca

Please sign in to comment.