mirror of
https://github.com/emilk/egui.git
synced 2026-08-31 13:50:04 -04:00
Show how to close a child viewport in the example
This commit is contained in:
@@ -85,7 +85,7 @@ pub fn window_builder<E>(
|
||||
..
|
||||
} = native_options;
|
||||
|
||||
let mut viewport_builder = egui::ViewportBuilder::ROOT
|
||||
let mut viewport_builder = egui::ViewportBuilder::DEFAULTS
|
||||
.with_title(title)
|
||||
.with_decorations(*decorated)
|
||||
.with_fullscreen(*fullscreen)
|
||||
|
||||
Reference in New Issue
Block a user