diff --git a/src/gui/components/TextInput.zig b/src/gui/components/TextInput.zig index 9172f8d1..46fc6c57 100644 --- a/src/gui/components/TextInput.zig +++ b/src/gui/components/TextInput.zig @@ -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}); } }