Skip to content

Commit

Permalink
Update style.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
rustbasic authored Jul 3, 2024
1 parent b036f1b commit 50b202c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/egui/src/style.rs
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,7 @@ impl ScrollStyle {
ui.label("Minimum handle length");
});
ui.horizontal(|ui| {
ui.add(DragValue::new(bar_inner_margin).clamp_range(0.0..=32.0));
ui.add(DragValue::new(bar_inner_margin).range(0.0..=32.0));
ui.label("Inner margin");
});
ui.horizontal(|ui| {
Expand Down

0 comments on commit 50b202c

Please sign in to comment.