Skip to content

Commit

Permalink
Update slider.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
rustbasic authored Aug 8, 2024
1 parent 3e79200 commit a19ae64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/egui/src/widgets/slider.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit a19ae64

Please sign in to comment.