Merge pull request 'Fixing Sestrings' (#96) from Sestrings-fix-2 into 2.0.0

Reviewed-on: #96
This commit was merged in pull request #96.
This commit is contained in:
2025-12-18 05:21:27 +00:00

View File

@@ -545,12 +545,15 @@ public static class SeStringUtils
{
drawList ??= ImGui.GetWindowDrawList();
var usedFont = font ?? ImGui.GetFont();
var drawParams = new SeStringDrawParams
{
Font = font ?? ImGui.GetFont(),
Font = usedFont,
FontSize = usedFont.FontSize,
Color = ImGui.GetColorU32(ImGuiCol.Text),
WrapWidth = wrapWidth,
TargetDrawList = drawList
TargetDrawList = drawList,
ScreenOffset = ImGui.GetCursorScreenPos()
};
ImGuiHelpers.SeStringWrapped(seString.Encode(), drawParams);