Browse Source

code cleanup

pull/1417/head
boombuler 9 years ago
parent
commit
8713cd5c9f
  1. 7
      src/Avalonia.Controls/DragDrop/Raw/RawDragEvent.cs

7
src/Avalonia.Controls/DragDrop/Raw/RawDragEvent.cs

@ -14,7 +14,7 @@ namespace Avalonia.Controls.DragDrop.Raw
public RawDragEvent(IDragDropDevice inputDevice, RawDragEventType type, public RawDragEvent(IDragDropDevice inputDevice, RawDragEventType type,
IInputElement inputRoot, Point location, IDataObject data, DragDropEffects effects) IInputElement inputRoot, Point location, IDataObject data, DragDropEffects effects)
:base(inputDevice, GetTimeStamp()) :base(inputDevice, 0)
{ {
Type = type; Type = type;
InputRoot = inputRoot; InputRoot = inputRoot;
@ -22,10 +22,5 @@ namespace Avalonia.Controls.DragDrop.Raw
Data = data; Data = data;
Effects = effects; Effects = effects;
} }
private static uint GetTimeStamp()
{
return (uint)0;
}
} }
} }
Loading…
Cancel
Save