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