Skip to content

Commit

Permalink
Fix for adding draggedViewLocation and draggedImageLocatio to CPDragg…
Browse files Browse the repository at this point in the history
…ingInfo.

[cappuccino#192 state:resolved]

Reviewed by me.
  • Loading branch information
Francisco Ryan Tolmasky I committed Jan 3, 2009
1 parent ef7000a commit aabe06e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions AppKit/CPDragServer.j
Expand Up @@ -157,6 +157,16 @@ var CPDragServerUpdateDragging = function(anEvent)
return [CPDragServerView image];
}

- (CGPoint)draggedImageLocation
{
return [self draggedViewLocation];
}

- (CGPoint)draggedViewLocation
{
return [[CPDragServerDestination window] convertBridgeToBase:[CPDragServerView frame].origin];
}

- (CPView)draggedView
{
return CPDragServerView;
Expand Down

0 comments on commit aabe06e

Please sign in to comment.