Skip to main content

close_ui

Function close_ui 

Source
pub fn close_ui(ui_id: &str)
Expand description

Close the Yog UI screen showing ui_id — e.g. from that screen’s own “Done” button. Does nothing when another screen is open. Deferred onto the render thread, so the handler that calls it finishes first. Client side; a no-op on dedicated servers.