diff --git a/LightlessSync/Utils/SeStringUtils.cs b/LightlessSync/Utils/SeStringUtils.cs index 186db83..1c71204 100644 --- a/LightlessSync/Utils/SeStringUtils.cs +++ b/LightlessSync/Utils/SeStringUtils.cs @@ -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);