Fully migrated to drawStringHex for Script Editor line rendering

This commit is contained in:
bigguy345 committed 2025-12-31 02:36:10 +02:00
1 parent a7b43563cf
commit 8089a5eef0
2 files changed
+6 -4

No files matched your search

@@ -849,10 +849,11 @@ public class GuiScriptTextArea extends GuiNpcTextField {
}
}
int yPos = posY + stringYOffset;
// data.drawString(x + LINE_NUMBER_GUTTER_WIDTH + 1, yPos, 0xFFe0e0e0);
scriptLine.drawString(x+LINE_NUMBER_GUTTER_WIDTH + 1, yPos, 0xFFe0e0e0);
// scriptLine.drawStringHex(x+LINE_NUMBER_GUTTER_WIDTH + 1, yPos, ScriptLine.createDefaultHexRenderer());
//data.drawString(x + LINE_NUMBER_GUTTER_WIDTH + 1, yPos, 0xFFe0e0e0);
//scriptLine.drawString(x+LINE_NUMBER_GUTTER_WIDTH + 1, yPos, 0xFFe0e0e0);
scriptLine.drawStringHex(x + LINE_NUMBER_GUTTER_WIDTH + 1, yPos);
// Draw cursor: pause blinking while user is active recently
boolean recentInput = selection.hadRecentInput();