mirror of
https://gitee.com/langsisi_admin/serein-flow
synced 2026-03-03 00:00:49 +08:00
忘记改啥了*1
This commit is contained in:
@@ -12,6 +12,8 @@ using Serein.Workbench.Node.ViewModel;
|
||||
using Serein.Workbench.Themes;
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Reflection;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Controls.Primitives;
|
||||
@@ -247,11 +249,12 @@ namespace Serein.Workbench
|
||||
return;
|
||||
}
|
||||
InitializeCanvas(project.Basic.Canvas.Width, project.Basic.Canvas.Height);// 设置画布大小
|
||||
foreach (var connection in Connections)
|
||||
{
|
||||
connection.RefreshLine(); // 窗体完成加载后试图刷新所有连接线
|
||||
}
|
||||
|
||||
//foreach (var connection in Connections)
|
||||
//{
|
||||
// connection.RefreshLine(); // 窗体完成加载后试图刷新所有连接线
|
||||
//}
|
||||
Console.WriteLine($"运行环境当前工作目录:{System.IO.Directory.GetCurrentDirectory()}");
|
||||
|
||||
var canvasData = project.Basic.Canvas;
|
||||
if (canvasData is not null)
|
||||
{
|
||||
@@ -267,7 +270,12 @@ namespace Serein.Workbench
|
||||
FlowChartCanvas.RenderTransform = canvasTransformGroup;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
#endregion
|
||||
|
||||
#region 运行环境事件
|
||||
|
||||
Reference in New Issue
Block a user