Remove unused field

This commit is contained in:
Kovid Goyal 2026-01-05 20:08:09 +05:30
parent e1199bcee2
commit e825005861
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

View file

@ -23,7 +23,6 @@ typedef struct MomentumScroller {
double friction, // Deceleration factor (0-1, lower = longer coast)
min_velocity, // Minimum velocity before stopping
max_velocity, // Maximum velocity to prevent runaway scrolling
boost_factor, // How much to speed up scrolling
velocity_scale; // Scale factor for initial velocity
unsigned timer_interval_ms;
@ -38,7 +37,6 @@ static MomentumScroller s = {
.friction = 0.04,
.min_velocity = 0.5,
.max_velocity = 100,
.boost_factor = 1.2,
.velocity_scale = 0.9,
.timer_interval_ms = 10,
};