Skip to content

Commit

Permalink
wrong position of code block
Browse files Browse the repository at this point in the history
  • Loading branch information
emsaks committed Oct 8, 2015
1 parent b30305f commit 87f0f08
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions GongSolutions.Wpf.DragDrop/DropInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -155,16 +155,16 @@ public DropInfo(object sender, DragEventArgs e, DragInfo dragInfo)
this.InsertPosition |= RelativeInsertPosition.TargetItemCenter;
}
//System.Diagnostics.Debug.WriteLine("==> DropInfo: InsPos={0}, InsIndex={1}, X={2}, Item={3}", this.InsertPosition, this.InsertIndex, currentXPos, item);
} else {
this.VisualTargetItem = this.VisualTarget;
}
}
}
else
{
this.TargetCollection = itemsControl.ItemsSource ?? itemsControl.Items;
this.InsertIndex = itemsControl.Items.Count;
//System.Diagnostics.Debug.WriteLine("==> DropInfo: {0}, item=NULL, {1}", this.InsertPosition, this.InsertIndex);
}
} else {
this.VisualTargetItem = this.VisualTarget;
}
}

Expand Down

0 comments on commit 87f0f08

Please sign in to comment.