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:
stoyan 2005-08-17 12:53:17 +00:00
parent 0f6fb35e43
commit f88a436a29

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)