Fix for adding draggedViewLocation and draggedImageLocatio to CPDraggingInfo.

[#192 state:resolved]

Reviewed by me.
This commit is contained in:
Francisco Ryan Tolmasky I
2009-01-03 01:11:06 -08:00
parent ef7000a29d
commit aabe06eb3f
+10
View File
@@ -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;