Skip to content

Commit 0a81a2a

Browse files
committed
Reduce indent
1 parent 6ad9532 commit 0a81a2a

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

package/Editor/NeedleConsole.cs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,11 +123,10 @@ public static void Apply(ref string stacktrace)
123123
if (foundPrefix && settings.UseSyntaxHighlighting)
124124
SyntaxHighlighting.AddSyntaxHighlighting(ref line);
125125

126-
// Indent wrapped lines.
127-
#if UNITY_6000_0_OR_NEWER
128-
var l = "<indent=2em><line-indent=-2em>" + line.Trim() + "</line-indent></indent>";
129-
#else
130126
var l = line.Trim();
127+
#if UNITY_6000_0_OR_NEWER
128+
// Indent wrapped lines.
129+
l = "<indent=0.75em><line-indent=-0.75em>" + l + "</line-indent></indent>";
131130
#endif
132131
if (!string.IsNullOrEmpty(l))
133132
{

0 commit comments

Comments
 (0)