Added offset, font and fontsize as needed for 14

This commit is contained in:
cake
2025-12-18 01:19:26 +01:00
parent 1d212437f5
commit d766c2c42e

View File

@@ -588,6 +588,11 @@ public static class SeStringUtils
var drawPos = new Vector2(position.X, position.Y + verticalOffset);
ImGui.SetCursorScreenPos(drawPos);
drawParams.ScreenOffset = drawPos;
drawParams.Font = usedFont;
drawParams.FontSize = usedFont.FontSize;
ImGuiHelpers.SeStringWrapped(seString.Encode(), drawParams);
ImGui.SetCursorScreenPos(position);