mirror of
https://github.com/emilk/egui.git
synced 2026-08-30 05:10:03 -04:00
Buggy drop-detection
This commit is contained in:
@@ -12,5 +12,5 @@ publish = false
|
||||
eframe = { path = "../../crates/eframe", features = [
|
||||
"__screenshot", # __screenshot is so we can dump a screenshot using EFRAME_SCREENSHOT_TO
|
||||
] }
|
||||
egui_extras = { path = "../../crates/egui_extras" }
|
||||
egui_extras = { path = "../../crates/egui_extras", features = ["log"] }
|
||||
env_logger = "0.10"
|
||||
|
||||
@@ -104,8 +104,13 @@ fn tree_ui(
|
||||
tree_ui(ui, behavior, nodes, child);
|
||||
}
|
||||
}
|
||||
dock::NodeLayout::Horizontal(horizontal) => {
|
||||
for &child in &horizontal.children {
|
||||
dock::NodeLayout::Horizontal(layout) => {
|
||||
for &child in &layout.children {
|
||||
tree_ui(ui, behavior, nodes, child);
|
||||
}
|
||||
}
|
||||
dock::NodeLayout::Vertical(layout) => {
|
||||
for &child in &layout.children {
|
||||
tree_ui(ui, behavior, nodes, child);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user