mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-15 05:04:15 +01:00
fix: prefer update icon over trouble icon
This commit is contained in:
parent
1517c58006
commit
ec3923fb0f
1 changed files with 7 additions and 7 deletions
|
|
@ -851,18 +851,18 @@ namespace Dalamud.Interface.Internal.Windows
|
||||||
ImGui.Image(iconTex.ImGuiHandle, iconSize);
|
ImGui.Image(iconTex.ImGuiHandle, iconSize);
|
||||||
ImGui.SameLine();
|
ImGui.SameLine();
|
||||||
|
|
||||||
if (trouble)
|
if (updateAvailable)
|
||||||
{
|
|
||||||
ImGui.SetCursorPos(cursorBeforeImage);
|
|
||||||
ImGui.Image(this.troubleIcon.ImGuiHandle, iconSize);
|
|
||||||
ImGui.SameLine();
|
|
||||||
}
|
|
||||||
else if (updateAvailable)
|
|
||||||
{
|
{
|
||||||
ImGui.SetCursorPos(cursorBeforeImage);
|
ImGui.SetCursorPos(cursorBeforeImage);
|
||||||
ImGui.Image(this.updateIcon.ImGuiHandle, iconSize);
|
ImGui.Image(this.updateIcon.ImGuiHandle, iconSize);
|
||||||
ImGui.SameLine();
|
ImGui.SameLine();
|
||||||
}
|
}
|
||||||
|
else if (trouble)
|
||||||
|
{
|
||||||
|
ImGui.SetCursorPos(cursorBeforeImage);
|
||||||
|
ImGui.Image(this.troubleIcon.ImGuiHandle, iconSize);
|
||||||
|
ImGui.SameLine();
|
||||||
|
}
|
||||||
|
|
||||||
ImGuiHelpers.ScaledDummy(5);
|
ImGuiHelpers.ScaledDummy(5);
|
||||||
ImGui.SameLine();
|
ImGui.SameLine();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue