mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
fix: remove some unnecessary pops I missed
This commit is contained in:
parent
ca9f932213
commit
03a409306f
1 changed files with 0 additions and 3 deletions
|
|
@ -125,7 +125,6 @@ internal sealed class SettingsEntry<T> : 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<T> : SettingsEntry
|
|||
using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.DalamudRed))
|
||||
{
|
||||
ImGui.Text(validityMsg);
|
||||
ImGui.PopStyleColor();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -154,7 +152,6 @@ internal sealed class SettingsEntry<T> : SettingsEntry
|
|||
using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.DalamudRed))
|
||||
{
|
||||
ImGui.Text(warningMessage);
|
||||
ImGui.PopStyleColor();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue