From 0a9d19b17f95f19c228d82bcd87a31e1380a49d6 Mon Sep 17 00:00:00 2001 From: Stefano Ceccherini Date: Fri, 28 Dec 2007 08:20:39 +0000 Subject: [PATCH] Added a comment about the bug in BSnow git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23180 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/interface/Shelf.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/kits/interface/Shelf.cpp b/src/kits/interface/Shelf.cpp index 1abb4601c7..3f132fc087 100644 --- a/src/kits/interface/Shelf.cpp +++ b/src/kits/interface/Shelf.cpp @@ -1178,7 +1178,7 @@ BShelf::_AddReplicant(BMessage *data, BPoint *location, uint32 uniqueID) } else { // Replicant is parent of the dragger replicant = view; - dragger = dynamic_cast(replicant->FindView("_dragger_")); + dragger = dynamic_cast(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