mirror of
https://github.com/emilk/egui.git
synced 2026-06-26 22:53:14 -04:00
DragValue: Lower default speed for integers
to make it easier to hit the values
This commit is contained in:
@@ -68,6 +68,7 @@ macro_rules! impl_integer_constructor {
|
||||
})
|
||||
.max_decimals(0)
|
||||
.clamp_range_f64(($int::MIN as f64)..=($int::MAX as f64))
|
||||
.speed(0.25)
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user