diff options
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/common/org/eclipse/swt')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/common/org/eclipse/swt/dnd/DropTargetEffect.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/common/org/eclipse/swt/dnd/DropTargetEffect.java b/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/common/org/eclipse/swt/dnd/DropTargetEffect.java index a2cd97aedc..d02109dbc5 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/common/org/eclipse/swt/dnd/DropTargetEffect.java +++ b/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/common/org/eclipse/swt/dnd/DropTargetEffect.java @@ -125,7 +125,7 @@ public class DropTargetEffect extends DropTargetAdapter { while (item != null) { Rectangle rect = item.getBounds(); int itemBottom = rect.y + rect.height; - if (rect.y <= point.y && point.y <= itemBottom) return item; + if (rect.y <= point.y && point.y < itemBottom) return item; if (itemBottom > treeBottom) break; item = nextItem(tree, item); } |