Skip to content

Commit e825005

Browse files
committed
Remove unused field
1 parent e1199bc commit e825005

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

glfw/momentum-scroll.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ typedef struct MomentumScroller {
2323
double friction, // Deceleration factor (0-1, lower = longer coast)
2424
min_velocity, // Minimum velocity before stopping
2525
max_velocity, // Maximum velocity to prevent runaway scrolling
26-
boost_factor, // How much to speed up scrolling
2726
velocity_scale; // Scale factor for initial velocity
2827
unsigned timer_interval_ms;
2928

@@ -38,7 +37,6 @@ static MomentumScroller s = {
3837
.friction = 0.04,
3938
.min_velocity = 0.5,
4039
.max_velocity = 100,
41-
.boost_factor = 1.2,
4240
.velocity_scale = 0.9,
4341
.timer_interval_ms = 10,
4442
};

0 commit comments

Comments
 (0)