From 37c75500d36fc42268ad7539ac5418a76172d2bf Mon Sep 17 00:00:00 2001 From: Aireil <33433913+Aireil@users.noreply.github.com> Date: Mon, 20 Nov 2023 07:37:17 +0100 Subject: [PATCH] [`Target Castbar Countdown`] Quick fix EndCombo missing (#672) --- Tweaks/UiAdjustment/TargetCastbarCountdown.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Tweaks/UiAdjustment/TargetCastbarCountdown.cs b/Tweaks/UiAdjustment/TargetCastbarCountdown.cs index d5e2b344..2f8c16dc 100644 --- a/Tweaks/UiAdjustment/TargetCastbarCountdown.cs +++ b/Tweaks/UiAdjustment/TargetCastbarCountdown.cs @@ -79,6 +79,7 @@ private bool DrawCombo(ref NodePosition setting, string label) { foreach (var direction in Enum.GetValues()) { if (ImGui.Selectable(direction.ToString(), setting == direction)) { setting = direction; + ImGui.EndCombo(); return true; } } @@ -192,4 +193,4 @@ private void TryFreeTextNode(AtkUnitBase* addon, uint nodeId) { UiHelper.UnlinkAndFreeTextNode(textNode, addon); } } -} \ No newline at end of file +}