mirror of
https://github.com/tsoding/boomer
synced 2024-11-18 09:28:37 +00:00
(#48) Increase the drag friction
This commit is contained in:
parent
decd54cdbf
commit
b31121d073
@ -10,7 +10,8 @@ type Config* = object
|
|||||||
const defaultConfig* = Config(
|
const defaultConfig* = Config(
|
||||||
scrollSpeed: 1.0,
|
scrollSpeed: 1.0,
|
||||||
dragVelocityFactor: 10.0,
|
dragVelocityFactor: 10.0,
|
||||||
dragFriction: 1.0,
|
# TODO: For a natual feel dragFriction probably should depend on velocity
|
||||||
|
dragFriction: 600.0,
|
||||||
scaleFriction: 10.0,
|
scaleFriction: 10.0,
|
||||||
fps: 60
|
fps: 60
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user