Skip to content

Commit

Permalink
Move underscore cursor 1 pixel to the right
Browse files Browse the repository at this point in the history
  • Loading branch information
arm32x committed Mar 7, 2024
1 parent e9cb1ac commit f69c37f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ public void renderWidget(DrawContext context, int mouseX, int mouseY, float delt
if (lineCursor) {
context.fill(RenderLayer.getGuiOverlay(), cursorX, cursorY - 1, cursorX + 1, cursorY + 10, 0xFFD0D0D0);
} else {
context.drawTextWithShadow(self.getTextRenderer(), "_", cursorX, cursorY, textColor);
context.drawTextWithShadow(self.getTextRenderer(), "_", cursorX + 1, cursorY, textColor);
}
}

Expand Down

0 comments on commit f69c37f

Please sign in to comment.