mirror of
https://github.com/emilk/egui.git
synced 2026-08-30 13:20:05 -04:00
Buggy drop-detection
This commit is contained in:
@@ -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