mirror of
https://github.com/emilk/egui.git
synced 2026-08-30 05:10:03 -04:00
More restoring
This commit is contained in:
@@ -16,10 +16,6 @@ fn main() -> Result<(), eframe::Error> {
|
||||
|
||||
eframe::run_simple_native("My egui App", options, move |ctx, _frame| {
|
||||
egui::CentralPanel::default().show(ctx, |ui| {
|
||||
ui.label(format!(
|
||||
"Current rendering window: {}",
|
||||
ctx.get_viewport_id()
|
||||
));
|
||||
ui.heading("My egui Application");
|
||||
ui.horizontal(|ui| {
|
||||
let name_label = ui.label("Your name: ");
|
||||
|
||||
Reference in New Issue
Block a user