removed useless OffsetTo()
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23183 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
d73c4e9fb1
commit
eb885e0680
@ -1250,10 +1250,9 @@ BShelf::_CreateZombie(BMessage *data, BDragger *&dragger)
|
||||
|
||||
_BZombieReplicantView_ *zombie = NULL;
|
||||
if (data->WasDropped()) {
|
||||
BPoint dropPoint, offset;
|
||||
dropPoint = data->DropPoint(&offset);
|
||||
BPoint offset;
|
||||
BPoint dropPoint = data->DropPoint(&offset);
|
||||
|
||||
frame.OffsetTo(B_ORIGIN);
|
||||
frame.OffsetTo(fContainerView->ConvertFromScreen(dropPoint) - offset);
|
||||
|
||||
zombie = new _BZombieReplicantView_(frame, B_ERROR);
|
||||
|
Loading…
Reference in New Issue
Block a user