Correction to last commit.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27069 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2008-11-16 16:18:11 +00:00
parent 2e53778720
commit 1febd24809

View file

@ -1326,11 +1326,11 @@ GSSetDragTypes(NSView* obj, NSArray *types)
} }
else else
{ {
// FIXME: Adjust scale
[self _updateBoundsMatrix];
// Adjust bounds // Adjust bounds
_bounds = aRect; _bounds = aRect;
// FIXME: Adjust scale
[self _updateBoundsMatrix];
} }
[self resetCursorRects]; [self resetCursorRects];
@ -1385,10 +1385,11 @@ GSSetDragTypes(NSView* obj, NSArray *types)
{ {
(*invalidateImp)(self, invalidateSel); (*invalidateImp)(self, invalidateSel);
} }
_bounds.size = newSize;
// FIXME: Adjust scale // FIXME: Adjust scale
[self _updateBoundsMatrix]; [self _updateBoundsMatrix];
_bounds.size = newSize;
[self resetCursorRects]; [self resetCursorRects];
if (_post_bounds_changes) if (_post_bounds_changes)
{ {