Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/haxeui/haxeui-core
Browse files Browse the repository at this point in the history
  • Loading branch information
ianharrigan committed Apr 1, 2024
2 parents 69b4a15 + 9cfb7c5 commit 9e0af42
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions haxe/ui/dragdrop/DragManager.hx
Original file line number Diff line number Diff line change
Expand Up @@ -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<Component, DragOptions>;
private var _mouseTargetToDragTarget:Map<Component, Component>;

Expand Down

0 comments on commit 9e0af42

Please sign in to comment.