gtk,scrolledwindow: set slower inverse acceleration on the overshoot area

This is so snapping back is more fluid and noticeable.
This commit is contained in:
Carlos Garnacho
2011-12-23 17:18:08 +01:00
parent e11d9904bc
commit 10316b6ab2

View File

@@ -129,7 +129,7 @@
#define FRAME_INTERVAL (1000 / 60)
#define MAX_OVERSHOOT_DISTANCE 50
#define FRICTION_DECELERATION 0.003
#define OVERSHOOT_INVERSE_ACCELERATION 0.012
#define OVERSHOOT_INVERSE_ACCELERATION 0.003
struct _GtkScrolledWindowPrivate
{