mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-25 14:14:46 -04:00
Fix caret being slightly out on X axis
This commit is contained in:
parent
8583c51cfc
commit
a01589b88a
@ -116,7 +116,7 @@ namespace ClassicalSharp.Gui.Widgets {
|
||||
public void UpdateCaret() {
|
||||
if (caret >= Text.Length) caret = -1;
|
||||
Text.GetCoords(caret, lines, out caretCol, out caretRow);
|
||||
DrawTextArgs args = new DrawTextArgs(null, font, true);
|
||||
DrawTextArgs args = new DrawTextArgs(null, font, false);
|
||||
IDrawer2D drawer = game.Drawer2D;
|
||||
caretAccumulator = 0;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user