1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-30 13:20:05 -04:00

Rename show_viewport to show_viewport_deferred

Let's be explicit
This commit is contained in:
Emil Ernerfeldt
2023-11-19 11:12:37 +01:00
parent 39e60e367f
commit 74862bd129
5 changed files with 12 additions and 12 deletions

View File

@@ -116,7 +116,7 @@ pub trait App {
/// To force a repaint, call [`egui::Context::request_repaint`] at any time (e.g. from another thread).
///
/// This is called for the root viewport ([`egui::ViewportId::ROOT`]).
/// Use [`egui::Context::show_viewport`] to spawn additional viewports (windows).
/// Use [`egui::Context::show_viewport_deferred`] to spawn additional viewports (windows).
/// (A "viewport" in egui means an native OS window).
fn update(&mut self, ctx: &egui::Context, frame: &mut Frame);