Address feedback (no assets)

This commit is contained in:
Sam 2022-05-10 18:38:36 -04:00
parent 254b7964e1
commit 066b8ef9fd
3 changed files with 5 additions and 2 deletions

View File

@ -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,
};

View File

@ -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",

View File

@ -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) => {