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
This commit is contained in:
Lauri Ojansivu 2020-03-05 21:51:03 +02:00
parent 965c3fb07f
commit 9d13001b90
10 changed files with 70 additions and 5 deletions

View file

@ -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