BFLYT Editor: Adjust the pane drag/drop in treeview.
This commit is contained in:
parent
73c800f0c9
commit
5ae85e5e60
@ -371,7 +371,7 @@ namespace LayoutBXLYT
|
|||||||
|
|
||||||
private void treeView1_DragDrop(object sender, DragEventArgs e)
|
private void treeView1_DragDrop(object sender, DragEventArgs e)
|
||||||
{
|
{
|
||||||
if (e.Data.GetDataPresent(typeof(PaneTreeWrapper)))
|
/* if (e.Data.GetDataPresent(typeof(PaneTreeWrapper)))
|
||||||
{
|
{
|
||||||
Point targetPoint = treeView1.PointToClient(new Point(e.X, e.Y));
|
Point targetPoint = treeView1.PointToClient(new Point(e.X, e.Y));
|
||||||
TreeNode NodeOver = treeView1.GetNodeAt(targetPoint);
|
TreeNode NodeOver = treeView1.GetNodeAt(targetPoint);
|
||||||
@ -400,11 +400,11 @@ namespace LayoutBXLYT
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}*/
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
/*
|
|
||||||
if (e.Data.GetDataPresent(typeof(PaneTreeWrapper)))
|
if (e.Data.GetDataPresent(typeof(PaneTreeWrapper)))
|
||||||
{
|
{
|
||||||
Point targetPoint = treeView1.PointToClient(new Point(e.X, e.Y));
|
Point targetPoint = treeView1.PointToClient(new Point(e.X, e.Y));
|
||||||
@ -467,7 +467,7 @@ namespace LayoutBXLYT
|
|||||||
|
|
||||||
ParentEditor.UpdateViewport();
|
ParentEditor.UpdateViewport();
|
||||||
}
|
}
|
||||||
}*/
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void treeView1_DragEnter(object sender, DragEventArgs e)
|
private void treeView1_DragEnter(object sender, DragEventArgs e)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user