mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-03-03 00:00:57 +08:00
block
This commit is contained in:
@@ -242,15 +242,15 @@ namespace AIStudio.Wpf.DiagramDesigner
|
||||
{
|
||||
if (Erasable)
|
||||
{
|
||||
ItemWidth = Geometry.Bounds.Width - ColorViewModel.LineWidth * 0.5;
|
||||
ItemHeight = Geometry.Bounds.Height - ColorViewModel.LineWidth * 0.5;
|
||||
ItemWidth = Geometry.Bounds.Width;// - ColorViewModel.LineWidth * 0.5;
|
||||
ItemHeight = Geometry.Bounds.Height;// - ColorViewModel.LineWidth * 0.5;
|
||||
Left = point.X;
|
||||
Top = point.Y;
|
||||
}
|
||||
else
|
||||
{
|
||||
ItemWidth = Geometry.Bounds.Width + ColorViewModel.LineWidth * 0.5;
|
||||
ItemHeight = Geometry.Bounds.Height + ColorViewModel.LineWidth * 0.5;
|
||||
ItemWidth = Geometry.Bounds.Width;// + ColorViewModel.LineWidth * 0.5;
|
||||
ItemHeight = Geometry.Bounds.Height;// + ColorViewModel.LineWidth * 0.5;
|
||||
Left = point.X;
|
||||
Top = point.Y;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user