Kaynağa Gözat

Tweak upper bound of the developer console

Bepis 7 yıl önce
ebeveyn
işleme
2c80d19bd9

+ 2 - 2
Plugins/DeveloperConsole/DeveloperConsole.cs

@@ -23,9 +23,9 @@ namespace DeveloperConsole
             Chainloader.EntryLogged += (log, show) =>
             Chainloader.EntryLogged += (log, show) =>
             {
             {
                 string current = $"{TotalLog}\r\n{log}";
                 string current = $"{TotalLog}\r\n{log}";
-                if (current.Length > 400)
+                if (current.Length > 2000)
                 {
                 {
-                    current = current.Remove(0, 200);
+                    current = current.Remove(0, 1000);
                 }
                 }
                 TotalLog = current;
                 TotalLog = current;