mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-04-15 05:36:35 +08:00
线条动画支持大小切换
This commit is contained in:
@@ -9,7 +9,7 @@ namespace AIStudio.Wpf.DiagramDesigner
|
||||
|
||||
public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
|
||||
{
|
||||
if (value is ArrowPathStyle arrowStyle)
|
||||
if (value is PathStyle arrowStyle)
|
||||
{
|
||||
return ArrowPathData.Arrow[arrowStyle];
|
||||
}
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace AIStudio.Wpf.DiagramDesigner
|
||||
|
||||
public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
|
||||
{
|
||||
if (value is ArrowSizeStyle arrowStyle)
|
||||
if (value is SizeStyle arrowStyle)
|
||||
{
|
||||
return (int)arrowStyle;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user