From ccf8209a7f97ce1b543e2e98c76e5ef6945e863c Mon Sep 17 00:00:00 2001 From: demenik Date: Wed, 10 Dec 2025 18:29:20 +0100 Subject: [PATCH] feat: show keybinds on hud buttons (#66) --- src/features/hud/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/features/hud/mod.rs b/src/features/hud/mod.rs index 3d50a06..f736d89 100644 --- a/src/features/hud/mod.rs +++ b/src/features/hud/mod.rs @@ -59,13 +59,13 @@ fn setup(mut commands: Commands, game_config: Res, asset_server: Res inventory::components::ButtonType::InventoryOpen, ButtonVariant::Secondary, Node::from_padding(UiRect::all(px(10))), - |color| text("Inventar", 16.0, color) + |color| text("Inventar [I]", 16.0, color) ), button( ButtonType::SettingsOpen, ButtonVariant::Secondary, Node::from_padding(UiRect::all(px(10))), - |color| text("Einstellungen", 16.0, color) + |color| text("Einstellungen [Esc]", 16.0, color) ) ], ));