1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-27 23:13:13 -04:00

Now viewports will be identified by there id a normal egui::Id

Before viewports was identified by there title
This commit is contained in:
Konkitoman
2023-08-22 10:34:43 +03:00
parent 2949874287
commit ab59bf8c88
5 changed files with 23 additions and 19 deletions

View File

@@ -90,7 +90,7 @@ pub fn window_builder<E>(
..
} = native_options;
let mut window_builder = ViewportBuilder::default()
let mut window_builder = ViewportBuilder::new("")
.with_title(title)
.with_decorations(*decorated)
.with_fullscreen(*fullscreen)