diff --git a/src/features/hud/mod.rs b/src/features/hud/mod.rs index bafd140..27ec5b1 100644 --- a/src/features/hud/mod.rs +++ b/src/features/hud/mod.rs @@ -41,17 +41,19 @@ fn setup(mut commands: Commands) { children![ text_with_component(TextType::Phase, "...", 16.0, Color::WHITE), text_with_component(TextType::Timer, "...", 16.0, Color::WHITE), - ( - Button, + button( inventory::components::ButtonType::InventoryOpen, + ButtonVariant::Secondary, Node::default(), - children![text("Inventar", 16.0, Color::WHITE)] + "Inventar", + 16.0 ), - ( - Button, + button( ButtonType::SettingsOpen, + ButtonVariant::Secondary, Node::default(), - children![text("Einstellungen", 16.0, Color::WHITE)] + "Einstellungen", + 16.0 ) ], ));