Fix console notify lines width in cooked game
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user