This is an automated email from the ASF dual-hosted git repository.

yishayw pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


The following commit(s) were added to refs/heads/develop by this push:
     new 2b9d75dd7f Avoid endless loop...
2b9d75dd7f is described below

commit 2b9d75dd7ff07466d3673a59f3df7005b5841a0d
Author: Yishay Weiss <[email protected]>
AuthorDate: Thu Oct 13 04:19:28 2022 -0700

    Avoid endless loop...
---
 .../main/royale/mx/controls/beads/TreeSingleSelectionDropTargetBead.as  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/beads/TreeSingleSelectionDropTargetBead.as
 
b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/beads/TreeSingleSelectionDropTargetBead.as
index 8e84f20a64..aac294ce0b 100644
--- 
a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/beads/TreeSingleSelectionDropTargetBead.as
+++ 
b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/beads/TreeSingleSelectionDropTargetBead.as
@@ -333,8 +333,8 @@ package mx.controls.beads
                                if (child is IIndexedItemRenderer)
                                {
                                        startHere = child;
-                                       child = child.parent as IChild;
                                }
+                               child = child.parent as IChild;
                        }
 
                        if (DragEvent.dragInitiator) {

Reply via email to