1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-02 14:50:03 -04:00

Deprecate old DragValue constructors in favor of DragValue::new

This commit is contained in:
Emil Ernerfeldt
2021-03-27 16:09:09 +01:00
parent de439b6e21
commit 5011623744
9 changed files with 16 additions and 13 deletions

View File

@@ -151,7 +151,7 @@ impl WidgetGallery {
ui.end_row();
ui.add(doc_link_label("DragValue", "DragValue"));
ui.add(egui::DragValue::f32(scalar).speed(1.0));
ui.add(egui::DragValue::new(scalar).speed(1.0));
ui.end_row();
ui.add(doc_link_label("Color picker", "color_edit"));