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:
@@ -1178,7 +1178,7 @@ BShelf::_AddReplicant(BMessage *data, BPoint *location, uint32 uniqueID)
|
|||||||
} else {
|
} else {
|
||||||
// Replicant is parent of the dragger
|
// Replicant is parent of the dragger
|
||||||
replicant = view;
|
replicant = view;
|
||||||
dragger = dynamic_cast<BDragger*>(replicant->FindView("_dragger_"));
|
dragger = dynamic_cast<BDragger *>(replicant->FindView("_dragger_"));
|
||||||
|
|
||||||
if (dragger)
|
if (dragger)
|
||||||
dragger->_SetViewToDrag(replicant);
|
dragger->_SetViewToDrag(replicant);
|
||||||
@@ -1217,7 +1217,8 @@ BShelf::_AddReplicant(BMessage *data, BPoint *location, uint32 uniqueID)
|
|||||||
BPoint adjust = AdjustReplicantBy(frame, data);
|
BPoint adjust = AdjustReplicantBy(frame, data);
|
||||||
|
|
||||||
// TODO: that's probably not correct for all relations (or any?)
|
// 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 it's a sibling or a child, we need to add the dragger
|
||||||
if (relation == BDragger::TARGET_IS_SIBLING
|
if (relation == BDragger::TARGET_IS_SIBLING
|
||||||
|
|||||||
Reference in New Issue
Block a user