Added a comment about the bug in BSnow

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23180 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini 2007-12-28 08:20:39 +00:00
parent 7b27100746
commit 0a9d19b17f

View File

@ -1178,7 +1178,7 @@ BShelf::_AddReplicant(BMessage *data, BPoint *location, uint32 uniqueID)
} else {
// Replicant is parent of the dragger
replicant = view;
dragger = dynamic_cast<BDragger*>(replicant->FindView("_dragger_"));
dragger = dynamic_cast<BDragger *>(replicant->FindView("_dragger_"));
if (dragger)
dragger->_SetViewToDrag(replicant);
@ -1217,7 +1217,8 @@ BShelf::_AddReplicant(BMessage *data, BPoint *location, uint32 uniqueID)
BPoint adjust = AdjustReplicantBy(frame, data);
// TODO: that's probably not correct for all relations (or any?)
view->MoveTo(point + adjust);
// At least, commenting this line fixes a bug in BSnow
view->MoveTo(point + adjust);
// if it's a sibling or a child, we need to add the dragger
if (relation == BDragger::TARGET_IS_SIBLING