Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
vojtesaak committed Jul 10, 2018
1 parent b90faf3 commit fc1ddb5
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dist/perfect-scrollbar.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -725,7 +725,7 @@ var keyboard = function(i) {

var wheel = function(i) {
var element = i.element;

console.log("--- wheel", env);
function shouldPreventDefault(deltaX, deltaY) {
var roundedScrollTop = Math.floor(element.scrollTop);
var isTop = element.scrollTop === 0;
Expand Down
2 changes: 1 addition & 1 deletion dist/perfect-scrollbar.esm.js
Original file line number Diff line number Diff line change
Expand Up @@ -723,7 +723,7 @@ var keyboard = function(i) {

var wheel = function(i) {
var element = i.element;

console.log("--- wheel", env);
function shouldPreventDefault(deltaX, deltaY) {
var roundedScrollTop = Math.floor(element.scrollTop);
var isTop = element.scrollTop === 0;
Expand Down
2 changes: 1 addition & 1 deletion dist/perfect-scrollbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -729,7 +729,7 @@ var keyboard = function(i) {

var wheel = function(i) {
var element = i.element;

console.log("--- wheel", env);
function shouldPreventDefault(deltaX, deltaY) {
var roundedScrollTop = Math.floor(element.scrollTop);
var isTop = element.scrollTop === 0;
Expand Down
2 changes: 1 addition & 1 deletion dist/perfect-scrollbar.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/handlers/mouse-wheel.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { env } from '../lib/util';

export default function(i) {
const element = i.element;

console.log("--- wheel", env);
let shouldPrevent = false;

function shouldPreventDefault(deltaX, deltaY) {
Expand Down

0 comments on commit fc1ddb5

Please sign in to comment.