1
0
mirror of synced 2025-01-31 12:23:52 +01:00

BFLYT Editor: Adjust the pane drag/drop in treeview.

This commit is contained in:
KillzXGaming 2019-11-06 21:03:34 -05:00
parent 73c800f0c9
commit 5ae85e5e60

View File

@ -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)