From 03a409306f31b7a622b4c07fd407cabb62b1fa6a Mon Sep 17 00:00:00 2001 From: goat Date: Sun, 26 Mar 2023 13:07:26 +0200 Subject: [PATCH] fix: remove some unnecessary pops I missed --- .../Internal/Windows/Settings/Widgets/SettingsEntry{T}.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/Dalamud/Interface/Internal/Windows/Settings/Widgets/SettingsEntry{T}.cs b/Dalamud/Interface/Internal/Windows/Settings/Widgets/SettingsEntry{T}.cs index 5937ea706..6352d7b69 100644 --- a/Dalamud/Interface/Internal/Windows/Settings/Widgets/SettingsEntry{T}.cs +++ b/Dalamud/Interface/Internal/Windows/Settings/Widgets/SettingsEntry{T}.cs @@ -125,7 +125,6 @@ internal sealed class SettingsEntry : SettingsEntry using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.DalamudGrey)) { ImGuiHelpers.SafeTextWrapped(this.Description); - ImGui.PopStyleColor(); } if (this.CheckValidity != null) @@ -138,7 +137,6 @@ internal sealed class SettingsEntry : SettingsEntry using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.DalamudRed)) { ImGui.Text(validityMsg); - ImGui.PopStyleColor(); } } } @@ -154,7 +152,6 @@ internal sealed class SettingsEntry : SettingsEntry using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.DalamudRed)) { ImGui.Text(warningMessage); - ImGui.PopStyleColor(); } } }