Skip to content

Commit

Permalink
Merge pull request #656 from Shallowmallow/DragInside
Browse files Browse the repository at this point in the history
Making inner components drag work
  • Loading branch information
ianharrigan authored Dec 2, 2024
2 parents 16cc565 + 0cecee7 commit 0d445f4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions haxe/ui/dragdrop/DragManager.hx
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ class DragManager {
///////////////

private function onMouseDown(e:MouseEvent) {
if (_currentComponent != null) return;
// set current pending dragging component
_currentComponent = _mouseTargetToDragTarget.get(e.target);
if (_currentComponent.parentComponent == null) {
Expand Down

0 comments on commit 0d445f4

Please sign in to comment.