Skip to main content

repair_builder

Function repair_builder 

Source
pub fn repair_builder(vb: ViewportBuilder) -> ViewportBuilder
Expand description

A native window’s builder, its kept place repaired against the screens told (set_screens): a position off every screen is pulled back onto the first, a size larger than its screen shrunk; the maximized and full-screen flags stay. Unchanged while no screen is known. Called from eframe’s NativeOptions::window_builder hook, which runs as the main window is created (egui-pop’s native runner does it).