Revert the old change r36762 which added a small offset to tracker right click
menus since it is no longer needed after r40132/r40142. Thanks diver for the reminder. #5809 can finally be closed again. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42017 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -2507,7 +2507,6 @@ BContainerWindow::ShowDropContextMenu(BPoint loc)
|
|||||||
item->SetMessage(new BMessage(kCreateLink));
|
item->SetMessage(new BMessage(kCreateLink));
|
||||||
}
|
}
|
||||||
|
|
||||||
global += BPoint(2, 2);
|
|
||||||
item = fDropContextMenu->Go(global, true, true);
|
item = fDropContextMenu->Go(global, true, true);
|
||||||
if (item)
|
if (item)
|
||||||
return item->Command();
|
return item->Command();
|
||||||
@@ -2522,7 +2521,6 @@ BContainerWindow::ShowContextMenu(BPoint loc, const entry_ref *ref, BView *)
|
|||||||
ASSERT(IsLocked());
|
ASSERT(IsLocked());
|
||||||
BPoint global(loc);
|
BPoint global(loc);
|
||||||
PoseView()->ConvertToScreen(&global);
|
PoseView()->ConvertToScreen(&global);
|
||||||
global += BPoint(2, 2);
|
|
||||||
PoseView()->CommitActivePose();
|
PoseView()->CommitActivePose();
|
||||||
|
|
||||||
if (ref) {
|
if (ref) {
|
||||||
|
|||||||
Reference in New Issue
Block a user