Compare commits

...

1 Commits

Author SHA1 Message Date
Cursor Agent
40827c9701 Match tiTextDrawer Base::beginDraw height half via / 2.0f
Co-authored-by: coah <coah80@users.noreply.github.com>
2026-10-01 21:37:47 +00:00

View File

@@ -274,7 +274,7 @@ namespace textinput {
xOffset *= scale - 1.0f;
viewport[0] = left + xOffset;
f32 height = (mProjectionRect.bottom -
mProjectionRect.top) * 0.5f;
mProjectionRect.top) / 2.0f;
viewport[1] = rect.bottom + height;
viewport[2] = scale * (100.0f + (rect.right - rect.left));
viewport[3] = rect.top - rect.bottom;