1
0
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:
Emil Ernerfeldt
2021-03-27 15:47:53 +01:00
parent 246ab55a7f
commit fd80a64cdb

View File

@@ -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)
}
};
}