helloworld

This commit is contained in:
艾竹
2023-08-06 22:24:26 +08:00
parent fe3e8b9ae1
commit 8f7a43accd
3 changed files with 5 additions and 5 deletions

View File

@@ -795,12 +795,12 @@ namespace AIStudio.Wpf.DiagramDesigner
return new RectangleBase(left, top, right, bottom, true);
}
public double GetItemWidth()
public virtual double GetItemWidth()
{
return double.IsNaN(ItemWidth) ? Math.Max(ActualItemWidth, MinItemWidth) : ItemWidth;
}
public double GetItemHeight()
public virtual double GetItemHeight()
{
return double.IsNaN(ItemHeight) ? Math.Max(ActualItemHeight, MinItemHeight) : ItemHeight;
}