3D mouse: let the overall speed slider reach the 5x the engine allows (#5704)
The Preferences > Navigation overall speed slider stopped at 3.00x, but `space_mouse::frame` clamps the applied speed to 0.1..=5.0, so the top of the range the engine honours could not be reached from the UI. Raise the slider's ceiling to 5.0x to match that clamp; the step, format and lower bound are unchanged. Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
77c77829e3
commit
d5eca6cc78
1 file changed
+1
-1
@@ -1447,7 +1447,7 @@ fn space_mouse_rows(app: &mut SolveApp, ui: &mut egui::Ui) {
|
||||
ui_kit::slider(
|
||||
ui,
|
||||
&mut app.preferences.space_mouse_speed,
|
||||
0.25..=3.0,
|
||||
0.25..=5.0,
|
||||
ui_kit::Slider { step: Some(0.05), format: |value| format!("{value:.2}×"), ..Default::default() },
|
||||
);
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user