diff --git a/HudSwap/PluginUI.cs b/HudSwap/PluginUI.cs index ba69cf4..13cc5dc 100644 --- a/HudSwap/PluginUI.cs +++ b/HudSwap/PluginUI.cs @@ -136,7 +136,7 @@ namespace HudSwap { ImGui.PopFont(); ImGui.Text("Copy onto slot..."); - Vector2 slotButtonSize = new Vector2(40, ImGui.GetTextLineHeight()); + Vector2 slotButtonSize = new Vector2(40, 0); foreach (HudSlot slot in Enum.GetValues(typeof(HudSlot))) { // Surround the button with parentheses if this is the current slot string slotText = slot == this.plugin.Hud.GetActiveHudSlot() ? $"({(int)slot + 1})" : ((int)slot + 1).ToString();