mirror of
https://github.com/n00mkrad/flowframes.git
synced 2026-09-01 19:51:28 +02:00
Reset input info on new file
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user