drag and drop
This commit is contained in:
parent
e17c712ec6
commit
28b6b040b7
4 changed files with 88 additions and 14 deletions
|
|
@ -18,13 +18,16 @@ impl Plugin for DevToolsPlugin {
|
|||
|
||||
fn setup_debug_menu(mut commands: Commands) {
|
||||
let root = commands
|
||||
.spawn(Node {
|
||||
width: percent(100.),
|
||||
height: percent(100.),
|
||||
align_items: AlignItems::Start,
|
||||
justify_content: JustifyContent::End,
|
||||
..default()
|
||||
})
|
||||
.spawn((
|
||||
Node {
|
||||
width: percent(100.),
|
||||
height: percent(100.),
|
||||
align_items: AlignItems::Start,
|
||||
justify_content: JustifyContent::End,
|
||||
..default()
|
||||
},
|
||||
Pickable::IGNORE,
|
||||
))
|
||||
.id();
|
||||
let panel = commands
|
||||
.spawn((
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue