Reset input info on new file

This commit is contained in:
N00MKRAD
2021-01-28 20:04:08 +01:00
parent e665916363
commit d0fb3fcf13
2 changed files with 8 additions and 0 deletions

View File

@@ -127,6 +127,13 @@ namespace Flowframes
inputInfo.Text = str;
}
public void ResetInputInfo ()
{
currInRes = new Size();
currInFps = 0;
currInFrames = 0;
}
void InitAis()
{
foreach (AI ai in Networks.networks)

View File

@@ -18,6 +18,7 @@ namespace Flowframes.UI
public static async Task InitInput (TextBox outputTbox, TextBox inputTbox, TextBox fpsInTbox)
{
Program.mainForm.SetTab("interpolate");
Program.mainForm.ResetInputInfo();
if (Config.GetBool("clearLogOnInput"))
Logger.ClearLogBox();