优化了运行。在运行状态下,在画布上添加触发器、移除触发器、或者涉及到触发器的操作都会及时/延时生效(已经在等待信号的触发器,将会在触发信号后才会拿取新的信号类型创建触发任务)

This commit is contained in:
fengjiayi
2024-09-17 21:43:49 +08:00
parent 86da5b3ba6
commit ee1a41ed83
6 changed files with 117 additions and 50 deletions

View File

@@ -150,14 +150,14 @@ namespace Serein.WorkBench
Shutdown(); // 关闭应用程序
}
}
//else if (1 == 1)
//{
// string filePath = @"F:\临时\project\new project.dnf";
// //string filePath = @"D:\Project\C#\DynamicControl\SereinFlow\.Output\Debug\net8.0-windows7.0\U9 project.dnf";
// string content = System.IO.File.ReadAllText(filePath); // 读取整个文件内容
// App.FData = JsonConvert.DeserializeObject<SereinProjectData>(content);
// App.FileDataPath = filePath;//System.IO.Path.GetDirectoryName(filePath)!;
//}
else if (1 == 1)
{
string filePath = @"F:\临时\project\new project.dnf";
//string filePath = @"D:\Project\C#\DynamicControl\SereinFlow\.Output\Debug\net8.0-windows7.0\U9 project.dnf";
string content = System.IO.File.ReadAllText(filePath); // 读取整个文件内容
App.FData = JsonConvert.DeserializeObject<SereinProjectData>(content);
App.FileDataPath = filePath;//System.IO.Path.GetDirectoryName(filePath)!;
}
}
}