mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 07:00:46 +00:00
* 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:
parent
5215126ca7
commit
2c1370226f
2 changed files with 8 additions and 1 deletions
|
@ -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:):
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue