patch-notes-fixes #98

Merged
defnotken merged 5 commits from notif-style-rework into 2.0.0 2025-12-19 15:09:12 +00:00
Showing only changes of commit ae9df103f3 - Show all commits

View File

@@ -195,13 +195,15 @@ public class UpdateNotesUi : WindowMediatorSubscriberBase
foreach (var item in category.Items)
{
ImGui.Bullet();
ImGui.SameLine();
if (!string.IsNullOrEmpty(item.Role))
{
ImGui.BulletText($"{item.Name} — {item.Role}");
ImGui.TextWrapped($"{item.Name} — {item.Role}");
}
else
{
ImGui.BulletText(item.Name);
ImGui.TextWrapped(item.Name);
}
}
@@ -254,7 +256,7 @@ public class UpdateNotesUi : WindowMediatorSubscriberBase
ImGui.SetScrollHereY(0);
}
ImGui.PushTextWrapPos();
ImGui.PushTextWrapPos(ImGui.GetCursorPosX() + ImGui.GetContentRegionAvail().X);
foreach (var entry in _changelog.Changelog)
{
@@ -314,7 +316,9 @@ public class UpdateNotesUi : WindowMediatorSubscriberBase
foreach (var item in version.Items)
{
ImGui.BulletText(item);
ImGui.Bullet();
ImGui.SameLine();
ImGui.TextWrapped(item);
}
ImGuiHelpers.ScaledDummy(5);