fix: prefer update icon over trouble icon

This commit is contained in:
goat 2021-09-04 22:55:50 +02:00
parent 1517c58006
commit ec3923fb0f
No known key found for this signature in database
GPG key ID: F18F057873895461

View file

@ -851,18 +851,18 @@ namespace Dalamud.Interface.Internal.Windows
ImGui.Image(iconTex.ImGuiHandle, iconSize);
ImGui.SameLine();
if (trouble)
{
ImGui.SetCursorPos(cursorBeforeImage);
ImGui.Image(this.troubleIcon.ImGuiHandle, iconSize);
ImGui.SameLine();
}
else if (updateAvailable)
if (updateAvailable)
{
ImGui.SetCursorPos(cursorBeforeImage);
ImGui.Image(this.updateIcon.ImGuiHandle, iconSize);
ImGui.SameLine();
}
else if (trouble)
{
ImGui.SetCursorPos(cursorBeforeImage);
ImGui.Image(this.troubleIcon.ImGuiHandle, iconSize);
ImGui.SameLine();
}
ImGuiHelpers.ScaledDummy(5);
ImGui.SameLine();