Shifted LINE GUTTER to the left by 1 px

This commit is contained in:
bigguy345 committed 2025-12-18 14:48:14 +02:00
1 parent 793a2753fe
commit 9afe569677
1 file changed
+1 -1
@@ -83,7 +83,7 @@ public class GuiScriptTextArea extends GuiNpcTextField {
// Draw text viewport background (starts after gutter)
drawRect(x + LINE_NUMBER_GUTTER_WIDTH, y, x + width, y + height, 0xff000000);
// Draw separator line between gutter and text area
drawRect(x + LINE_NUMBER_GUTTER_WIDTH, y, x + LINE_NUMBER_GUTTER_WIDTH + 1, y + height, 0xff3c3f41);
drawRect(x + LINE_NUMBER_GUTTER_WIDTH-1, y, x + LINE_NUMBER_GUTTER_WIDTH, y + height, 0xff3c3f41);
// Enable scissor test to clip drawing to the TEXT viewport rectangle (excludes gutter)
GL11.glEnable(GL11.GL_SCISSOR_TEST);