summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ui/listwidget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/listwidget.c b/src/ui/listwidget.c
index ca15cc20..68ebc377 100644
--- a/src/ui/listwidget.c
+++ b/src/ui/listwidget.c
@@ -331,7 +331,7 @@ static size_t resolveDragDestination_ListWidget_(const iListWidget *d, iInt2 dst
331 const iRect rect = itemRect_ListWidget(d, index); 331 const iRect rect = itemRect_ListWidget(d, index);
332 const iRangei span = ySpan_Rect(rect); 332 const iRangei span = ySpan_Rect(rect);
333 if (item->isDropTarget) { 333 if (item->isDropTarget) {
334 const int pad = size_Range(&span) / 3; 334 const int pad = size_Range(&span) / 4;
335 if (dstPos.y >= span.start + pad && dstPos.y < span.end - pad) { 335 if (dstPos.y >= span.start + pad && dstPos.y < span.end - pad) {
336 *isOnto = iTrue; 336 *isOnto = iTrue;
337 return index; 337 return index;