feat: show keybinds on hud buttons (#66)
This commit is contained in:
@@ -59,13 +59,13 @@ fn setup(mut commands: Commands, game_config: Res<GameConfig>, 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)
|
||||
)
|
||||
],
|
||||
));
|
||||
|
||||
Reference in New Issue
Block a user