mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-04-12 04:06:36 +08:00
使用PointBase代替Point
This commit is contained in:
@@ -31,7 +31,7 @@ namespace AIStudio.Wpf.DiagramDesigner.Controls
|
||||
|
||||
void DragThumb_DragDelta(object sender, DragDeltaEventArgs e)
|
||||
{
|
||||
if (this.DataContext is PointInfoBase point)
|
||||
if (this.DataContext is ConnectorPoint point)
|
||||
{
|
||||
double minLeft = double.MaxValue;
|
||||
double minTop = double.MaxValue;
|
||||
|
||||
Reference in New Issue
Block a user