Skip to content

Commit

Permalink
fixed bad paren.
Browse files Browse the repository at this point in the history
  • Loading branch information
emsaks committed Oct 8, 2015
1 parent e65d856 commit b30305f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GongSolutions.Wpf.DragDrop/DragDrop.cs
Original file line number Diff line number Diff line change
Expand Up @@ -891,7 +891,7 @@ private static void DropTarget_PreviewDragOver(object sender, DragEventArgs e)
var adornedElement =
itemsControl is TabControl
? itemsControl.GetVisualDescendent<TabPanel>()
: (itemsControl.GetVisualDescendent<ItemsPresenter>() ?? itemsControl.GetVisualDescendent<ScrollContentPresenter>() as UIElement) ?? itemsControl;
: (itemsControl.GetVisualDescendent<ItemsPresenter>() ?? itemsControl.GetVisualDescendent<ScrollContentPresenter>() as UIElement ?? itemsControl);

if (adornedElement != null) {
if (dropInfo.DropTargetAdorner == null) {
Expand Down

0 comments on commit b30305f

Please sign in to comment.