Fix console notify lines width in cooked game

This commit is contained in:
2024-04-13 16:15:19 +03:00
parent 63d459c5c6
commit 641a0ca2e3

View File

@@ -174,7 +174,7 @@ public class ConsoleScript : Script
rootlocation.Y = -rootControl.Control.Height;
rootControl.Control.Location = rootlocation;
Console.Print("Renderer: " + GPUDevice.Instance.RendererType);
//Console.Print("Renderer: " + GPUDevice.Instance.RendererType);
}
private void OnSendLog(LogType level, string msg, Object obj, string stackTrace)
@@ -272,8 +272,9 @@ public class ConsoleScript : Script
public override void OnUpdate()
{
base.OnUpdate();
#if !USE_EDITOR
consoleNotifyBox.Width = consoleBox.Width;
#endif
if (!Console.IsOpen && Input.GetAction("ClearConsole"))
Console.Clear();