From 9d13001b903f9ec50f5fa3a4bdbacae32b27ac65 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Thu, 5 Mar 2020 21:51:03 +0200 Subject: Add settings for mouse wheen scroll inertia and scroll amount. For example: sudo snap set scrollinertia='200' sudo snap set scrollamount='200' Thanks to danger89 and xet7 ! Related #2949 --- packages/wekan-scrollbar/jquery.mCustomScrollbar.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'packages') diff --git a/packages/wekan-scrollbar/jquery.mCustomScrollbar.js b/packages/wekan-scrollbar/jquery.mCustomScrollbar.js index 056e4284..e7d49997 100644 --- a/packages/wekan-scrollbar/jquery.mCustomScrollbar.js +++ b/packages/wekan-scrollbar/jquery.mCustomScrollbar.js @@ -109,9 +109,9 @@ and dependencies (minified). scrollbarPosition:"inside", /* scrolling inertia - values: integer (milliseconds) + values: integer (milliseconds). default: 0 */ - scrollInertia:0, + scrollInertia:Meteor.settings.public.SCROLLINERTIA, /* auto-adjust scrollbar dragger length values: boolean @@ -161,7 +161,7 @@ and dependencies (minified). scrolling amount in pixels values: "auto", integer */ - scrollAmount:"auto", + scrollAmount:Meteor.settings.public.SCROLLAMOUNT, /* mouse-wheel scrolling axis the default scrolling direction when both vertical and horizontal scrollbars are present -- cgit v1.2.3-1-g7c22