mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
Fix vertical offset when title is empty
This commit is contained in:
parent
2935d18c37
commit
8d15dfc031
1 changed files with 1 additions and 1 deletions
|
|
@ -461,10 +461,10 @@ internal sealed class ActiveNotification : IActiveNotification, IDisposable
|
||||||
{
|
{
|
||||||
ImGui.PushTextWrapPos(maxCoord.X);
|
ImGui.PushTextWrapPos(maxCoord.X);
|
||||||
|
|
||||||
|
ImGui.SetCursorPos(minCoord);
|
||||||
if ((this.Title ?? this.DefaultTitle) is { } title)
|
if ((this.Title ?? this.DefaultTitle) is { } title)
|
||||||
{
|
{
|
||||||
ImGui.PushStyleColor(ImGuiCol.Text, NotificationConstants.TitleTextColor);
|
ImGui.PushStyleColor(ImGuiCol.Text, NotificationConstants.TitleTextColor);
|
||||||
ImGui.SetCursorPos(minCoord);
|
|
||||||
ImGui.TextUnformatted(title);
|
ImGui.TextUnformatted(title);
|
||||||
ImGui.PopStyleColor();
|
ImGui.PopStyleColor();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue