mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-04-03 23:56:37 +08:00
几个小bug
This commit is contained in:
@@ -658,7 +658,9 @@ namespace AIStudio.Wpf.DiagramDesigner
|
||||
_viewModel.AddItemCommand.Execute(itemBase);
|
||||
}
|
||||
}
|
||||
e.Handled = true;
|
||||
e.Handled = true;
|
||||
|
||||
this.Focus();
|
||||
}
|
||||
|
||||
public FullyCreatedConnectorInfo FindNearPortToAttachTo()
|
||||
|
||||
@@ -198,6 +198,7 @@ namespace AIStudio.Wpf.DiagramDesigner
|
||||
xOffset += vector.X;
|
||||
yOffset += vector.Y;
|
||||
}
|
||||
this.ScrollViewer.ScrollToHorizontalOffset(xOffset);
|
||||
this.ScrollViewer.ScrollToVerticalOffset(yOffset);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user