Permalink
Browse files

Merge branch 'master' of https://github.com/nonamelive/PXListView

  • Loading branch information...
2 parents 9eaed66 + d4f652d commit c73d7a9e25e0244bc575d0d15b0a0299fc4ffca3 Alex Rozanski committed Mar 5, 2011
Showing with 5 additions and 0 deletions.
  1. +5 −0 Classes/PXListView.m
View
@@ -817,6 +817,11 @@ -(NSImage*) dragImageForRowsWithIndexes: (NSIndexSet *)dragRows event: (NSEvent*
CGFloat minX = CGFLOAT_MAX, maxX = CGFLOAT_MIN,
minY = CGFLOAT_MAX, maxY = CGFLOAT_MIN;
NSPoint localMouse = [self convertPoint: NSZeroPoint fromView: clickedCell];
+
+ if ([clickedCell isFlipped]) {
+ localMouse = [self convertPoint:CGPointMake(0, NSHeight(clickedCell.frame) * 2) fromView:clickedCell];
+ }
+
localMouse.y += [self documentVisibleRect].origin.y;
// Determine how large an image we'll need to hold all cells, with their

0 comments on commit c73d7a9

Please sign in to comment.