Add macro chain is missing error

This commit is contained in:
Asriel Camora
2023-10-24 01:38:59 -07:00
parent cd0fbacbbc
commit 56383d4e6e
2 changed files with 17 additions and 3 deletions
+1 -2
View File
@@ -446,9 +446,8 @@ internal static class ImGuiUtils
public static bool IconButtonSized(FontAwesomeIcon icon, Vector2 size)
{
ImGui.PushFont(UiBuilder.IconFont);
using var font = ImRaii.PushFont(UiBuilder.IconFont);
var ret = ImGui.Button(icon.ToIconString(), size);
ImGui.PopFont();
return ret;
}