mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-04-05 16:56:34 +08:00
动画demo完成
This commit is contained in:
@@ -52,7 +52,6 @@ namespace AIStudio.Wpf.DiagramDesigner
|
||||
{
|
||||
switch (e.PropertyName)
|
||||
{
|
||||
case nameof(ConnectionViewModel.LineAnimation):
|
||||
case nameof(ConnectionViewModel.PathGeneratorResult):
|
||||
await DoAnimation();
|
||||
break;
|
||||
@@ -65,7 +64,7 @@ namespace AIStudio.Wpf.DiagramDesigner
|
||||
if (this.DataContext is ConnectionViewModel connector && connector.IsFullConnection)
|
||||
{
|
||||
await System.Threading.Tasks.Task.Delay(100);
|
||||
switch (connector.LineAnimation)
|
||||
switch (connector.ColorViewModel.LineAnimation)
|
||||
{
|
||||
case LineAnimation.None:
|
||||
_story?.Stop();
|
||||
|
||||
Reference in New Issue
Block a user