Skip to content

Commit

Permalink
Add documentation for new friction configuration parameter.
Browse files Browse the repository at this point in the history
  • Loading branch information
mpetroff committed Oct 19, 2018
1 parent 2d7ccb5 commit 42a7a3a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions doc/json-config-parameters.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,13 @@ viewer is fullscreen.
If set to `false`, mouse and touch dragging is disabled. Defaults to `true`.


### `friction` (number)

Controls the "friction" that slows down the viewer motion after it is dragged
and released. Higher values mean the motion stops faster. Should be set
(0.0, 1.0]; defaults to 0.15.


### `disableKeyboardCtrl` (boolean)

If set to `true`, keyboard controls are disabled. Defaults to `false`.
Expand Down

0 comments on commit 42a7a3a

Please sign in to comment.