mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 08:41:23 +00:00
Tweaks for subclassing
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20998 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
a3394a27e2
commit
f83a371d2f
3 changed files with 11 additions and 4 deletions
|
@ -234,6 +234,7 @@ static GSDragView *sharedDragView = nil;
|
|||
slideBack: (BOOL)slideFlag
|
||||
{
|
||||
NSPoint eventPoint;
|
||||
|
||||
ASSIGN(dragPasteboard, pboard);
|
||||
ASSIGN(dragSource, sourceObject);
|
||||
dragSequence = [event timestamp];
|
||||
|
@ -274,7 +275,7 @@ static GSDragView *sharedDragView = nil;
|
|||
* Convert point from coordinates of image to coordinates of mouse
|
||||
* cursor for internal use.
|
||||
*/
|
||||
point.y += offset.height;
|
||||
point.x += offset.width;
|
||||
point.y += offset.height;
|
||||
[self _slideDraggedImageTo: point
|
||||
numberOfSteps: SLIDE_NR_OF_STEPS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue