Add forgotten saving old position

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21646 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Sergii Stoian 2005-08-17 12:53:17 +00:00
parent d76f1f5754
commit c728573e22

View file

@ -296,6 +296,9 @@ static NSNotificationCenter *nc = nil;
{
constrainImp = (floatIMP)[_delegate methodForSelector: constrainSel];
}
// Save the old position
op = p;
// user is moving the knob loop until left mouse up
while ([e type] != NSLeftMouseUp)