mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-20 16:46:23 +00:00
minor dragging offset fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24466 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
16fcaeab83
commit
a39fcf72a5
2 changed files with 5 additions and 1 deletions
|
@ -227,7 +227,7 @@ static Class imageCellClass;
|
|||
s = [anImage size];
|
||||
p = [theEvent locationInWindow];
|
||||
p.x -= s.width/2;
|
||||
p.y -= s.width/2;
|
||||
p.y -= s.height/2;
|
||||
[_window dragImage: anImage
|
||||
at: p
|
||||
offset: NSMakeSize(0, 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue