mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-15 05:04:15 +01:00
more cleanup
This commit is contained in:
parent
92302ffd89
commit
edb13c18e3
1 changed files with 4 additions and 6 deletions
|
|
@ -360,6 +360,10 @@ internal sealed partial class ActiveNotification
|
||||||
textColumnOffset.Y += NotificationConstants.ScaledComponentGap;
|
textColumnOffset.Y += NotificationConstants.ScaledComponentGap;
|
||||||
|
|
||||||
this.DrawContentBody(textColumnOffset, textColumnWidth);
|
this.DrawContentBody(textColumnOffset, textColumnWidth);
|
||||||
|
textColumnOffset.Y = ImGui.GetCursorPosY() + NotificationConstants.ScaledComponentGap;
|
||||||
|
|
||||||
|
ImGui.SetCursorPos(textColumnOffset);
|
||||||
|
this.InvokeDrawActions(textColumnOffset, new(textColumnX + textColumnWidth, float.MaxValue));
|
||||||
}
|
}
|
||||||
|
|
||||||
private void DrawIcon(Vector2 minCoord, Vector2 size)
|
private void DrawIcon(Vector2 minCoord, Vector2 size)
|
||||||
|
|
@ -416,12 +420,6 @@ internal sealed partial class ActiveNotification
|
||||||
ImGui.TextUnformatted(this.Content);
|
ImGui.TextUnformatted(this.Content);
|
||||||
ImGui.PopStyleColor();
|
ImGui.PopStyleColor();
|
||||||
ImGui.PopTextWrapPos();
|
ImGui.PopTextWrapPos();
|
||||||
if (this.DrawActions is not null)
|
|
||||||
{
|
|
||||||
this.InvokeDrawActions(
|
|
||||||
minCoord with { Y = ImGui.GetCursorPosY() + NotificationConstants.ScaledComponentGap },
|
|
||||||
new(minCoord.X + width, float.MaxValue));
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void DrawExpiryBar(DateTime effectiveExpiry, bool warrantsExtension)
|
private void DrawExpiryBar(DateTime effectiveExpiry, bool warrantsExtension)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue