mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 22:00:38 +00:00
Updated for last changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6689 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
c7374397b0
commit
b7e4b1ecfe
1 changed files with 0 additions and 18 deletions
|
@ -1101,15 +1101,6 @@ byExtendingSelection: (BOOL) flag
|
|||
newOrigin = [(NSClipView *)_super_view constrainScrollPoint:
|
||||
newOrigin];
|
||||
[(NSClipView *)_super_view scrollToPoint: newOrigin];
|
||||
if (_headerView != nil)
|
||||
{
|
||||
NSClipView *headerClipView
|
||||
= (NSClipView *)[_headerView superview];
|
||||
// Scroll the header view too
|
||||
newOrigin = [headerClipView bounds].origin;
|
||||
newOrigin.x += columnRect.origin.x - visibleRect.origin.x;
|
||||
[headerClipView scrollToPoint: newOrigin];
|
||||
}
|
||||
return;
|
||||
}
|
||||
diff = NSMaxX (columnRect) - NSMaxX (visibleRect);
|
||||
|
@ -1126,15 +1117,6 @@ byExtendingSelection: (BOOL) flag
|
|||
newOrigin = [(NSClipView *)_super_view constrainScrollPoint:
|
||||
newOrigin];
|
||||
[(NSClipView *)_super_view scrollToPoint: newOrigin];
|
||||
if (_headerView != nil)
|
||||
{
|
||||
// Scroll the header view too
|
||||
NSClipView *headerClipView
|
||||
= (NSClipView *)[_headerView superview];
|
||||
newOrigin = [headerClipView bounds].origin;
|
||||
newOrigin.x += diff;
|
||||
[headerClipView scrollToPoint: newOrigin];
|
||||
}
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue