mirror of
https://github.com/PixelGuys/Cubyz.git
synced 2025-08-03 11:17:05 -04:00
Merge cbb487744d3731310466868848a0917aee14c20a into 2dc2a6e79018221d5aab44e09be242d9dab3ddf2
This commit is contained in:
commit
64f2e57f9f
@ -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});
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user