Skip to content

Commit

Permalink
Make placing dialog state-scoped
Browse files Browse the repository at this point in the history
  • Loading branch information
Shatur committed Dec 5, 2024
1 parent e8894be commit 5223f2e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ui/src/menu/editor_menu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,10 @@ fn setup_place_family_dialog(
) {
info!("showing placing dialog");
parent
.spawn(DialogBundle::new(theme))
.spawn((
DialogBundle::new(theme),
StateScoped(WorldState::FamilyEditor),
))
.with_children(|parent| {
parent
.spawn(NodeBundle {
Expand Down

0 comments on commit 5223f2e

Please sign in to comment.