Replaced scrollview change with one that is easier to understand.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27053 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
fredkiefer 2008-11-14 19:25:01 +00:00
parent 26525cb157
commit 9609741ebf
3 changed files with 19 additions and 4 deletions

View file

@ -1104,7 +1104,15 @@ GSSetDragTypes(NSView* obj, NSArray *types)
{
if (_is_rotated_or_scaled_from_base == YES)
{
[self _updateBoundsMatrix];
//[self _updateBoundsMatrix];
NSAffineTransform *matrix;
NSRect frame = _frame;
frame.origin = NSMakePoint(0, 0);
matrix = [_boundsMatrix copy];
[matrix invert];
[matrix boundingRectFor: frame result: &_bounds];
RELEASE(matrix);
}
else
{