1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-15 23:04:09 +02:00

Remove unnecessary pauses for build scripts

This commit is contained in:
Brian Fiete 2021-11-26 08:56:01 -08:00
parent 72064e7dc2
commit 0bb273b898

View file

@ -963,6 +963,8 @@ namespace IDE
return false;
}*/
if (!ScriptManager.sActiveManager.mIsBuildScript)
{
if (gApp.mLastActiveSourceViewPanel != null)
{
var sourceViewPanel = gApp.mLastActiveSourceViewPanel;
@ -986,12 +988,13 @@ namespace IDE
return false;
if (gApp.[Friend]mDeferredOpen != .None)
return false;
if ((gApp.mExecutionPaused) && (gApp.mDebugger.IsPaused()))
{
if (gApp.mWantsRehupCallstack)
return false;
}
}
if (gApp.mWantsClean || gApp.mWantsBeefClean)
return false;
@ -1011,7 +1014,7 @@ namespace IDE
return false;
}
if (gApp.mDebugger == null)
if ((gApp.mDebugger == null) || (ScriptManager.sActiveManager.mIsBuildScript))
return true;
if ((!ScriptManager.sActiveManager.mIsBuildScript) && (gApp.AreTestsRunning()))