1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-26 22:53:14 -04:00

Final image API doc tweaks

This commit is contained in:
Emil Ernerfeldt
2023-09-27 16:40:26 +02:00
parent cfbad1f865
commit 9a947e5547
7 changed files with 11 additions and 11 deletions

View File

@@ -29,8 +29,7 @@ impl eframe::App for MyApp {
ui.image(egui::include_image!("ferris.svg"));
ui.add(
egui::Image::new("https://picsum.photos/seed/1.759706314/1024")
.rounding(egui::Rounding::same(10.0)),
egui::Image::new("https://picsum.photos/seed/1.759706314/1024").rounding(10.0),
);
});
});