diff options
author | Lauri Ojansivu <x@xet7.org> | 2020-03-05 21:51:03 +0200 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2020-03-05 21:51:03 +0200 |
commit | 9d13001b903f9ec50f5fa3a4bdbacae32b27ac65 (patch) | |
tree | 7fb9a10a67205276e2b46b6ca369ba22b26b79a3 /packages | |
parent | 965c3fb07fb16de9d525d7c094d299fd5d3960bc (diff) | |
download | wekan-9d13001b903f9ec50f5fa3a4bdbacae32b27ac65.tar.gz wekan-9d13001b903f9ec50f5fa3a4bdbacae32b27ac65.tar.bz2 wekan-9d13001b903f9ec50f5fa3a4bdbacae32b27ac65.zip |
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
Diffstat (limited to 'packages')
-rw-r--r-- | packages/wekan-scrollbar/jquery.mCustomScrollbar.js | 6 |
1 files changed, 3 insertions, 3 deletions
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 |