diff --git a/haxe/ui/dragdrop/DragManager.hx b/haxe/ui/dragdrop/DragManager.hx index 10ce443e8..ef78e58b7 100644 --- a/haxe/ui/dragdrop/DragManager.hx +++ b/haxe/ui/dragdrop/DragManager.hx @@ -24,6 +24,14 @@ class DragManager { // Instance //**************************************************************************************************** + /** + * Whether a component is currently being dragged + */ + public var isDragging(get, never):Bool; + function get_isDragging():Bool { + return _currentComponent != null; + } + private var _dragComponents:Map; private var _mouseTargetToDragTarget:Map;