BMenuFrame overlapped partially with a BMenuScroller. This fixes the
spurious lines drawn over the menu. Thanks to Stephan for making me notice this! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21327 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
3616859a05
commit
cf5948ae6c
@ -285,10 +285,9 @@ BMenuWindow::AttachScrollers()
|
||||
fUpperScroller->SetEnabled(false);
|
||||
fLowerScroller->SetEnabled(true);
|
||||
|
||||
fMenuFrame->ResizeBy(0, -2 * kScrollerHeight);
|
||||
fMenuFrame->ResizeBy(0, -2 * kScrollerHeight - 1);
|
||||
fMenuFrame->MoveBy(0, kScrollerHeight);
|
||||
|
||||
fMenuFrame->Bounds().PrintToStream();
|
||||
fValue = 0;
|
||||
fLimit = fMenu->Bounds().Height() - (frame.Height() - 2 * kScrollerHeight);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user