mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 19:00:47 +00:00
Made it compile again
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13146 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
6382945744
commit
617bf4c17b
1 changed files with 3 additions and 2 deletions
|
@ -6768,10 +6768,11 @@ byExtendingSelection: (BOOL)flag
|
||||||
NSRect newRect;
|
NSRect newRect;
|
||||||
NSTableViewDropOperation operation = NSTableViewDropAbove;
|
NSTableViewDropOperation operation = NSTableViewDropAbove;
|
||||||
int row;
|
int row;
|
||||||
p = [self convertPoint: p fromView: nil];
|
int quarterPosition;
|
||||||
int quarterPosition = (p.y - _bounds.origin.y) / _rowHeight * 4.;
|
|
||||||
unsigned dragOperation;
|
unsigned dragOperation;
|
||||||
|
|
||||||
|
p = [self convertPoint: p fromView: nil];
|
||||||
|
quarterPosition = (p.y - _bounds.origin.y) / _rowHeight * 4.;
|
||||||
|
|
||||||
if ((quarterPosition - oldDropRow * 4 <= 2) &&
|
if ((quarterPosition - oldDropRow * 4 <= 2) &&
|
||||||
(quarterPosition - oldDropRow * 4 >= -3) )
|
(quarterPosition - oldDropRow * 4 >= -3) )
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue