* Source/NSSplitView.m (-mouseDown:): When checking if divider

position also check orientaion for _isVertical == NO situation.
This fix avoids situation when split view is vertical, postion
changed but method exists after next 'else if' check.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28181 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Sergii Stoian 2009-04-06 21:55:04 +00:00
parent 5215126ca7
commit 2c1370226f
2 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,10 @@
2009-04-07 Sergii Stoian <stoyan255@gmail.com>
* Source/NSSplitView.m (-mouseDown:): When checking if divider
position also check orientaion for _isVertical == NO situation.
This fix avoids situation when split view is vertical, postion
changed but method exists after next 'else if' check.
2009-03-26 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSView.m (-setNeedsDisplay:, -setNeedsDisplayInRect:):

View file

@ -600,7 +600,7 @@ static NSNotificationCenter *nc = nil;
[self setNeedsDisplay: YES];
return;
}
else if (p.y == op.y)
else if (_isVertical == NO && p.y == op.y)
{
[self setNeedsDisplay: YES];
return;