Fix icon for disabled mods in associated mods.

This commit is contained in:
Ottermandias 2023-09-27 15:46:10 +02:00
parent f7d775633d
commit 8201e4f886

View file

@ -101,8 +101,7 @@ public class ModAssociationsTab
ImGui.TableNextColumn();
using (var font = ImRaii.PushFont(UiBuilder.IconFont))
{
ImGuiUtil.DrawTextButton((settings.Enabled ? FontAwesomeIcon.Check : FontAwesomeIcon.Cross).ToIconString(),
new Vector2(ImGui.GetContentRegionAvail().X, 0), 0);
ImGuiUtil.Center((settings.Enabled ? FontAwesomeIcon.Check : FontAwesomeIcon.Times).ToIconString());
}
ImGui.TableNextColumn();