mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 06:07:27 +00:00
No longer drawing first indent depth as new line gutter's indent replaces that
This commit is contained in:
1 parent
01cbcbd026
commit
cec05c33cf
1 file changed
+2
-2
@@ -340,8 +340,8 @@ public class GuiScriptTextArea extends GuiNpcTextField {
|
||||
int closeLine = span[2];
|
||||
int depth = span.length > 3 ? span[3] : originalDepth;
|
||||
// Skip top-level (depth 1) using the original depth to avoid hiding nested guides when adjusted
|
||||
//if (originalDepth <= 1)
|
||||
//continue;
|
||||
if (originalDepth <= 1)
|
||||
continue;
|
||||
int startLine = openLine + 1; // start under the opening brace
|
||||
int endLine = closeLine - 1; // stop before the closing brace
|
||||
if (startLine > endLine)
|
||||
|
||||
Reference in new issue
Block a user