1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 12:32:20 +02:00

Deferred ShowOuput, fixed double-output window

This commit is contained in:
Brian Fiete 2020-04-28 15:52:02 -07:00
parent 4479af6df4
commit 07df54ddba

View file

@ -168,6 +168,7 @@ namespace IDE
public Image mTransparencyGridImage ~ delete _;
public Image mSquiggleImage ~ delete _;
public Image mCircleImage ~ delete _;
public bool mWantShowOutput;
public OutputPanel mOutputPanel;
public ImmediatePanel mImmediatePanel;
@ -6692,7 +6693,7 @@ namespace IDE
public void OutputErrorLine(String format, params Object[] args)
{
ShowOutput();
mWantShowOutput = true;
var errStr = scope String();
errStr.Append("ERROR: ", format);
OutputLineSmart(errStr, params args);
@ -12402,6 +12403,12 @@ namespace IDE
}*/
if (mWantShowOutput)
{
ShowOutput();
mWantShowOutput = false;
}
if (mDbgFastUpdate)
{
RefreshRate = 240;