mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-03-03 00:00:57 +08:00
helloworld
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user