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:
@@ -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"));
|
||||
|
||||
Reference in New Issue
Block a user