mirror of
https://github.com/emilk/egui.git
synced 2026-08-30 13:20:05 -04:00
fix typo
This commit is contained in:
@@ -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>) {
|
fn generic_ui(ui: &mut egui::Ui, container_id: impl Into<Id>) {
|
||||||
let ctx = ui.ctx().clone();
|
let ctx = ui.ctx().clone();
|
||||||
ui.label(format!(
|
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()
|
ctx.frame_nr()
|
||||||
));
|
));
|
||||||
ui.label(format!("Current Viewport Id: {}", ctx.viewport_id()));
|
ui.label(format!("Current Viewport Id: {}", ctx.viewport_id()));
|
||||||
|
|||||||
Reference in New Issue
Block a user