mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 20:01:11 +00:00
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:
parent
d76f1f5754
commit
c728573e22
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue