default to axis fonts for profile description display

This commit is contained in:
rootdarkarchon
2023-03-20 13:31:49 +01:00
parent 558709109c
commit 126f2b8084
2 changed files with 8 additions and 0 deletions

View File

@@ -9,6 +9,7 @@ using ImGuiScene;
using System.Numerics;
using Microsoft.Extensions.Logging;
using MareSynchronos.Services;
using Dalamud.Interface.GameFonts;
namespace MareSynchronos.UI.Handlers;
@@ -127,7 +128,9 @@ public class UidDisplayHandler
}
var posDone = ImGui.GetCursorPos();
ImGui.PushFont(_uiBuilder.GetGameFontHandle(new GameFontStyle(GameFontFamilyAndSize.Axis12)).ImFont);
UiSharedService.TextWrapped(mareProfile.Profile.Description);
ImGui.PopFont();
ImGui.Unindent();
var sepColor = ImGui.GetStyle().Colors[(int)ImGuiCol.Separator];