Skip to content

Commit

Permalink
When the cursor is not over any control and not in a row/column, chan… (
Browse files Browse the repository at this point in the history
#10230)

When the cursor is not over any control and not in a row/column, change insertIndex to the last one.
  • Loading branch information
LeafShi1 committed Nov 7, 2023
1 parent 19dfe0d commit 1d604b5
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -898,6 +898,7 @@ protected override void OnDragOver(DragEventArgs de)
{
// Here, we're at the 'end' of the FlowLayoutPanel - not over
// any controls and not in a row/column.
_insertionIndex = FlowLayoutPanel.Controls.Count;
EraseIBar();
}
}
Expand Down

0 comments on commit 1d604b5

Please sign in to comment.