From 4a57f6a1c4e06f4a5e35a1bd84609adc84cb4203 Mon Sep 17 00:00:00 2001 From: Mike Fellows Date: Fri, 8 Apr 2011 09:26:04 -0400 Subject: [PATCH] Better inset bounds to improve autoscrolling while dragging in a scrollview. --- AppKit/CPDragServer.j | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AppKit/CPDragServer.j b/AppKit/CPDragServer.j index 076500970..9d3344b09 100644 --- a/AppKit/CPDragServer.j +++ b/AppKit/CPDragServer.j @@ -261,7 +261,7 @@ var CPDraggingSource_draggedImage_movedTo_ = 1 << 0, { var contentView = [scrollView contentView], bounds = [contentView bounds], - insetBounds = CGRectInset(bounds, 10, 10), + insetBounds = CGRectInset(bounds, 30, 30), eventLocation = [contentView convertPoint:_draggingLocation fromView:nil], deltaX = 0, deltaY = 0;