Browse Source

Remove null check

pull/1556/head
Wiesław Šoltés 8 years ago
parent
commit
3fb17af571
  1. 2
      src/Avalonia.Input/DragDropDevice.cs

2
src/Avalonia.Input/DragDropDevice.cs

@ -23,7 +23,7 @@ namespace Avalonia.Input
{
if (target == null)
return DragDropEffects.None;
var args = new DragEventArgs(routedEvent, data, target, target != null ? inputRoot.TranslatePoint(point, target) : point)
var args = new DragEventArgs(routedEvent, data, target, inputRoot.TranslatePoint(point, target))
{
RoutedEvent = routedEvent,
DragEffects = operation

Loading…
Cancel
Save