diff --git a/src/widgets/mod.rs b/src/widgets/mod.rs index 845b548..367090a 100644 --- a/src/widgets/mod.rs +++ b/src/widgets/mod.rs @@ -95,6 +95,7 @@ impl BigRedButton { fn spawn_big_red_button(commands: &mut ChildSpawnerCommands, text: impl Into) { let mut builder = commands.spawn(( Button, + BigRedButton, Node { width: Px(60.0), height: Px(60.0), @@ -124,7 +125,7 @@ impl BigRedButton { event: Trigger>, // Get button background and border colors so we can change them. // Filter for *changed* interactions, and only entities with a [`Button`] - mut button_colors: Query<(&mut BackgroundColor, &mut BorderColor), With