From c4d7bc6c98da4ced880ddf3831dc69ca66a37f9a Mon Sep 17 00:00:00 2001 From: dbr Date: Sat, 27 Nov 2021 12:04:38 +1100 Subject: [PATCH] No -f32::MIN --- imgui/src/widget/slider.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imgui/src/widget/slider.rs b/imgui/src/widget/slider.rs index 51e7f84..7432390 100644 --- a/imgui/src/widget/slider.rs +++ b/imgui/src/widget/slider.rs @@ -69,7 +69,7 @@ where /// `min > max`. /// /// Note for f32 and f64 sliders, Dear ImGui limits the available - /// range to half their full range (e.g `-f32::MIN/2.0 .. f32::MAX/2.0`) + /// range to half their full range (e.g `f32::MIN/2.0 .. f32::MAX/2.0`) /// Specifying a value above this will cause an abort. /// For large ranged values, consider using [`Ui::input_scalar`] instead #[inline]