From bc50ef7ae2887b7a1610c6bfe2371b5d17b75de3 Mon Sep 17 00:00:00 2001 From: lucasmerlin Date: Thu, 25 Jun 2026 20:30:35 +0200 Subject: [PATCH] Fix accidental change --- examples/hello_world_simple/src/main.rs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/examples/hello_world_simple/src/main.rs b/examples/hello_world_simple/src/main.rs index 531ff5f68..e3660d87b 100644 --- a/examples/hello_world_simple/src/main.rs +++ b/examples/hello_world_simple/src/main.rs @@ -2,8 +2,6 @@ #![expect(rustdoc::missing_crate_level_docs)] // it's an example use eframe::egui; -use eframe::egui::UiBuilder; -use eframe::egui::widget_style::HasClasses; fn main() -> eframe::Result { env_logger::init(); // Log to stderr (if you run with `RUST_LOG=debug`). @@ -19,13 +17,6 @@ fn main() -> eframe::Result { eframe::run_ui_native("My egui App", options, move |ui, _frame| { egui::CentralPanel::default().show(ui, |ui| { - - ui.scope_builder(UiBuilder::new().with_class("my_container"), |ui| { - - let in_container = ui.stack().iter().any(|s| s.classes.has("my_container")); - - }); - ui.heading("My egui Application"); ui.horizontal(|ui| { let name_label = ui.label("Your name: ");