mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-23 16:58:09 +02:00
Remove unused field
This commit is contained in:
2
glfw/momentum-scroll.c
vendored
2
glfw/momentum-scroll.c
vendored
@@ -23,7 +23,6 @@ typedef struct MomentumScroller {
|
|||||||
double friction, // Deceleration factor (0-1, lower = longer coast)
|
double friction, // Deceleration factor (0-1, lower = longer coast)
|
||||||
min_velocity, // Minimum velocity before stopping
|
min_velocity, // Minimum velocity before stopping
|
||||||
max_velocity, // Maximum velocity to prevent runaway scrolling
|
max_velocity, // Maximum velocity to prevent runaway scrolling
|
||||||
boost_factor, // How much to speed up scrolling
|
|
||||||
velocity_scale; // Scale factor for initial velocity
|
velocity_scale; // Scale factor for initial velocity
|
||||||
unsigned timer_interval_ms;
|
unsigned timer_interval_ms;
|
||||||
|
|
||||||
@@ -38,7 +37,6 @@ static MomentumScroller s = {
|
|||||||
.friction = 0.04,
|
.friction = 0.04,
|
||||||
.min_velocity = 0.5,
|
.min_velocity = 0.5,
|
||||||
.max_velocity = 100,
|
.max_velocity = 100,
|
||||||
.boost_factor = 1.2,
|
|
||||||
.velocity_scale = 0.9,
|
.velocity_scale = 0.9,
|
||||||
.timer_interval_ms = 10,
|
.timer_interval_ms = 10,
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user