feat: Add text UI component (#56)
This commit is contained in:
@@ -33,11 +33,7 @@ pub fn open_inventory(commands: &mut Commands, items: Query<&ItemStack>) {
|
||||
..Node::hstack(px(20))
|
||||
},
|
||||
children![
|
||||
(
|
||||
Text::new("Inventar"),
|
||||
TextFont::from_font_size(40.0),
|
||||
TextColor(Color::WHITE),
|
||||
),
|
||||
text("Inventar", 40.0, Color::WHITE),
|
||||
pill_button(
|
||||
ButtonType::InventoryClose,
|
||||
ButtonVariant::Destructive,
|
||||
|
||||
Reference in New Issue
Block a user