1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-30 13:20:05 -04:00

std::f32::INFINITY -> f32::INFINITY

This commit is contained in:
Emil Ernerfeldt
2020-04-25 10:52:20 +02:00
parent 299cc76fcf
commit 02f3b6dddf
6 changed files with 10 additions and 10 deletions

View File

@@ -323,8 +323,8 @@ impl<'a> Slider<'a> {
fn from_get_set(get_set_value: impl 'a + FnMut(Option<f32>) -> f32) -> Self {
Slider {
get_set_value: Box::new(get_set_value),
min: std::f32::NAN,
max: std::f32::NAN,
min: f32::NAN,
max: f32::NAN,
text: None,
precision: 3,
text_on_top: None,