diff --git a/AppKit/CPClipView.j b/AppKit/CPClipView.j index 654cec576..16eabd711 100644 --- a/AppKit/CPClipView.j +++ b/AppKit/CPClipView.j @@ -190,7 +190,7 @@ - (BOOL)autoscroll:(CPEvent)anEvent { var bounds = [self bounds], - eventLocation = [self convertPoint:[event locationInWindow] fromView:nil], + eventLocation = [self convertPoint:[anEvent locationInWindow] fromView:nil], superview = [self superview], deltaX = 0, deltaY = 0;