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:
@@ -129,7 +129,7 @@
|
|||||||
#define FRAME_INTERVAL (1000 / 60)
|
#define FRAME_INTERVAL (1000 / 60)
|
||||||
#define MAX_OVERSHOOT_DISTANCE 50
|
#define MAX_OVERSHOOT_DISTANCE 50
|
||||||
#define FRICTION_DECELERATION 0.003
|
#define FRICTION_DECELERATION 0.003
|
||||||
#define OVERSHOOT_INVERSE_ACCELERATION 0.012
|
#define OVERSHOOT_INVERSE_ACCELERATION 0.003
|
||||||
|
|
||||||
struct _GtkScrolledWindowPrivate
|
struct _GtkScrolledWindowPrivate
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user