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:
parent
7b27100746
commit
0a9d19b17f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user