mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-22 02:01:55 +07:00
Change default DnD scroll delay-ms to 100
This commit is contained in:
@@ -1137,7 +1137,7 @@ impl Default for DndEdgeViewScroll {
|
|||||||
fn default() -> Self {
|
fn default() -> Self {
|
||||||
Self {
|
Self {
|
||||||
trigger_width: FloatOrInt(30.), // Taken from GTK 4.
|
trigger_width: FloatOrInt(30.), // Taken from GTK 4.
|
||||||
delay_ms: 50,
|
delay_ms: 100,
|
||||||
max_speed: FloatOrInt(1500.),
|
max_speed: FloatOrInt(1500.),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -4288,7 +4288,7 @@ mod tests {
|
|||||||
trigger_width: FloatOrInt(
|
trigger_width: FloatOrInt(
|
||||||
10.0,
|
10.0,
|
||||||
),
|
),
|
||||||
delay_ms: 50,
|
delay_ms: 100,
|
||||||
max_speed: FloatOrInt(
|
max_speed: FloatOrInt(
|
||||||
50.0,
|
50.0,
|
||||||
),
|
),
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ Here's a quick glance at the available settings along with their default values.
|
|||||||
gestures {
|
gestures {
|
||||||
dnd-edge-view-scroll {
|
dnd-edge-view-scroll {
|
||||||
trigger-width 30
|
trigger-width 30
|
||||||
delay-ms 50
|
delay-ms 100
|
||||||
max-speed 1500
|
max-speed 1500
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user