From 8201e4f886493ce521fcde2fb8c38732904e3562 Mon Sep 17 00:00:00 2001 From: Ottermandias Date: Wed, 27 Sep 2023 15:46:10 +0200 Subject: [PATCH] Fix icon for disabled mods in associated mods. --- Glamourer/Gui/Tabs/DesignTab/ModAssociationsTab.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Glamourer/Gui/Tabs/DesignTab/ModAssociationsTab.cs b/Glamourer/Gui/Tabs/DesignTab/ModAssociationsTab.cs index 05bdeb0..c09b73d 100644 --- a/Glamourer/Gui/Tabs/DesignTab/ModAssociationsTab.cs +++ b/Glamourer/Gui/Tabs/DesignTab/ModAssociationsTab.cs @@ -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();