From a19ae64245f7ef2126f795f8ef8457df2387ef2a Mon Sep 17 00:00:00 2001 From: rustbasic <127506429+rustbasic@users.noreply.github.com> Date: Fri, 9 Aug 2024 00:33:42 +0900 Subject: [PATCH] Update slider.rs --- crates/egui/src/widgets/slider.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/egui/src/widgets/slider.rs b/crates/egui/src/widgets/slider.rs index 03ed386d6f4..8470ebff666 100644 --- a/crates/egui/src/widgets/slider.rs +++ b/crates/egui/src/widgets/slider.rs @@ -787,7 +787,7 @@ impl<'a> Slider<'a> { SliderOrientation::Horizontal => rect.height(), SliderOrientation::Vertical => rect.width(), }; - limit / 2.5 + limit / 2.7 } fn value_ui(&mut self, ui: &mut Ui, position_range: Rangef) -> Response {