1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-27 15:13:12 -04:00
This commit is contained in:
Emil Ernerfeldt
2023-11-01 19:05:20 +01:00
parent e5dab1eec9
commit 72a7ee4606

View File

@@ -318,7 +318,7 @@ fn show_as_popup(ctx: &egui::Context, name: &str, content: impl FnOnce(&mut egui
fn generic_ui(ui: &mut egui::Ui, container_id: impl Into<Id>) {
let ctx = ui.ctx().clone();
ui.label(format!(
"Frame nr: {} (this increases when this viewport is beeing rendered)",
"Frame nr: {} (this increases when this viewport is being rendered)",
ctx.frame_nr()
));
ui.label(format!("Current Viewport Id: {}", ctx.viewport_id()));