1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-29 21:00:03 -04:00

More cleanup

This commit is contained in:
Emil Ernerfeldt
2023-11-03 13:36:12 +01:00
parent 1f0fc7a005
commit 256ad734b4
4 changed files with 101 additions and 97 deletions

View File

@@ -137,7 +137,7 @@ fn show_async_viewport(
) {
let name: String = name.into();
ctx.create_viewport(
ctx.create_viewport_async(
ViewportBuilder::new(name.clone())
.with_title(name.as_str())
.with_inner_size(Some(egui::vec2(450.0, 350.0))),