Skip to content

Commit

Permalink
Facewear icon
Browse files Browse the repository at this point in the history
  • Loading branch information
AsgardXIV committed Jul 9, 2024
1 parent 066bd28 commit 8848f23
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Binary file added Brio/Resources/Embedded/Images/Facewear.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion Brio/UI/Controls/Editors/GearEditor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ private bool DrawFacewearSlot(ref ActorAppearance appearance)

using(ImRaii.PushId("facewear"))
{
if(ImBrio.BorderedGameIcon("##icon", facewearIcon, "Images.Head.png", size: faceIconSize))
if(ImBrio.BorderedGameIcon("##icon", facewearIcon, "Images.Facewear.png", size: faceIconSize))
{
_facewearSelector.Select(facewearUnion, true);
ImGui.OpenPopup("facewear_popup");
Expand Down
2 changes: 1 addition & 1 deletion Brio/UI/Controls/Selectors/FacewearSelector.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ protected override void DrawItem(FacewearUnion union, bool isHovered)
none => ((byte)0, "None", (uint)0x0)
);

ImBrio.BorderedGameIcon("icon", facewearIcon, "Images.Head.png", description: $"{facewearName}\n{facewearId}", flags: ImGuiButtonFlags.None, size: IconSize);
ImBrio.BorderedGameIcon("icon", facewearIcon, "Images.Facewear.png", description: $"{facewearName}\n{facewearId}", flags: ImGuiButtonFlags.None, size: IconSize);
}

protected override bool Filter(FacewearUnion item, string search)
Expand Down

0 comments on commit 8848f23

Please sign in to comment.