浏览代码

code cleanup

boombuler 7 年之前
父节点
当前提交
8713cd5c9f
共有 1 个文件被更改,包括 1 次插入6 次删除
  1. 1 6
      src/Avalonia.Controls/DragDrop/Raw/RawDragEvent.cs

+ 1 - 6
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;
-        }
     }
     }
 }
 }