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,
|
inventory::components::ButtonType::InventoryOpen,
|
||||||
ButtonVariant::Secondary,
|
ButtonVariant::Secondary,
|
||||||
Node::from_padding(UiRect::all(px(10))),
|
Node::from_padding(UiRect::all(px(10))),
|
||||||
|color| text("Inventar", 16.0, color)
|
|color| text("Inventar [I]", 16.0, color)
|
||||||
),
|
),
|
||||||
button(
|
button(
|
||||||
ButtonType::SettingsOpen,
|
ButtonType::SettingsOpen,
|
||||||
ButtonVariant::Secondary,
|
ButtonVariant::Secondary,
|
||||||
Node::from_padding(UiRect::all(px(10))),
|
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