mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Address feedback (no assets)
This commit is contained in:
parent
254b7964e1
commit
066b8ef9fd
@ -1061,7 +1061,7 @@ impl<'a> Widget for Crafting<'a> {
|
||||
|
||||
let sec_icon = match recipe_kind {
|
||||
RecipeKind::ModularWeapon => self.imgs.icon_secondary_comp,
|
||||
RecipeKind::Component(_) => self.imgs.icon_pelt,
|
||||
RecipeKind::Component(_) => self.imgs.icon_claw,
|
||||
_ => self.imgs.not_found,
|
||||
};
|
||||
|
||||
|
@ -113,7 +113,7 @@ image_ids! {
|
||||
crafting_icon_hover: "voxygen.element.ui.generic.buttons.anvil_hover",
|
||||
crafting_icon_press: "voxygen.element.ui.generic.buttons.anvil_press",
|
||||
quality_indicator: "voxygen.element.ui.crafting.quality_indicator",
|
||||
icon_pelt: "voxygen.element.ui.crafting.icons.pelt",
|
||||
icon_claw: "voxygen.element.ui.crafting.icons.claw",
|
||||
icon_ingot: "voxygen.element.ui.crafting.icons.ingot",
|
||||
icon_log: "voxygen.element.ui.crafting.icons.log",
|
||||
icon_armor: "voxygen.element.ui.crafting.icons.armors",
|
||||
|
@ -3511,6 +3511,9 @@ impl Hud {
|
||||
}
|
||||
} else if let Ability(AbilitySlot::Slot(index)) = from {
|
||||
events.push(Event::ChangeAbility(index, AuxiliaryAbility::Empty));
|
||||
} else if let Crafting(c) = from {
|
||||
// Remove item from crafting input
|
||||
self.show.crafting_fields.recipe_inputs.remove(&c.index);
|
||||
}
|
||||
},
|
||||
slot::Event::SplitDropped(from) => {
|
||||
|
Loading…
Reference in New Issue
Block a user