removed temporary debug code

This commit is contained in:
2026-10-03 23:45:39 +01:00
parent ab5ed4421c
commit 08990598bc
2 changed files with 2 additions and 10 deletions
-8
View File
@@ -1,11 +1,3 @@
#![feature(trait_alias)]
#![feature(str_as_str)]
#![feature(inherent_associated_types)]
pub mod buttons; pub mod buttons;
pub mod tabs; pub mod tabs;
pub mod tree; pub mod tree;
pub fn do_something() {
println!("something");
}
+2 -2
View File
@@ -86,7 +86,7 @@ where
) { ) {
match tree.node() { match tree.node() {
Node::Leaf(name) => { Node::Leaf(name) => {
let response = egui::Button::new(name.as_str()).frame(false).ui(ui); let response = egui::Button::new(name).frame(false).ui(ui);
response.context_menu(|ui| *action = ctx.ui(ui, tree)); response.context_menu(|ui| *action = ctx.ui(ui, tree));
@@ -95,7 +95,7 @@ where
} }
} }
Node::Branch(name, children) => { Node::Branch(name, children) => {
let show_response = egui::CollapsingHeader::new(name.as_str()).show(ui, |ui| { let show_response = egui::CollapsingHeader::new(name).show(ui, |ui| {
for child in children.iter() { for child in children.iter() {
Self::ui_inner(ui, action, ctx, child); Self::ui_inner(ui, action, ctx, child);
} }