egui::CentralPanel::default().show(ctx,|_ui|{});// just to paint a background for the windows to be on top of. Needed on web because of https://github.com/emilk/egui/issues/1548
letscreen_size=ctx.input().screen_rect.size();
letdefault_width=(screen_size.x-20.0).min(400.0);
@ -276,7 +274,6 @@ impl DemoWindows {
/// Show the open windows.
fnshow_windows(&mutself,ctx: &Context){
egui::CentralPanel::default().show(ctx,|_ui|{});// just to paint a background for the windows to be on top of. Needed on web because of https://github.com/emilk/egui/issues/1548