diff options
Diffstat (limited to 'src/Interface.cs')
| -rw-r--r-- | src/Interface.cs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/Interface.cs b/src/Interface.cs index e1bd7533..becd37ce 100644 --- a/src/Interface.cs +++ b/src/Interface.cs @@ -206,6 +206,8 @@ namespace Crow /// </summary> public static Dictionary<String, Instantiator> Instantiators = new Dictionary<string, Instantiator>(); public List<CrowThread> CrowThreads = new List<CrowThread>();//used to monitor thread finished + + public DragDropEventArgs DragAndDropOperation = null; #endregion #region Private Fields @@ -824,12 +826,11 @@ namespace Crow MouseMoveEventArgs e = new MouseMoveEventArgs (x, y, deltaX, deltaY); e.Mouse = Mouse; - if (ActiveWidget != null) { + if (ActiveWidget != null&& DragAndDropOperation == null) { //TODO, ensure object is still in the graphic tree //send move evt even if mouse move outside bounds ActiveWidget.onMouseMove (this, e); - if (!ActiveWidget.IsDragged)//if active is dragged, process mouse move as it was not visible. - return true; + return true; } if (HoverWidget != null) { |