Merge cbb487744d3731310466868848a0917aee14c20a into 2dc2a6e79018221d5aab44e09be242d9dab3ddf2

This commit is contained in:
Yiheng Wu 2025-07-31 12:47:36 +02:00 committed by GitHub
commit 64f2e57f9f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -514,7 +514,7 @@ pub fn render(self: *TextInput, mousePosition: Vec2f) void {
draw.setColor(0x440000ff);
self.textBuffer.drawSelection(textPos, @min(selectionStart, cursor), @max(selectionStart, cursor));
}
draw.setColor(0xff000000);
draw.line(cursorPos, cursorPos + Vec2f{0, 16});
draw.setColor(0xffaaaaaa);
draw.rect(cursorPos, Vec2f{1, fontSize});
}
}