Bug 388112, oversize menu no longer has scrolling mechanism, r+sr=bz

This commit is contained in:
2007-08-08 07:11:11 -07:00
parent 04bb84b76c
commit 28fc8f81e9
4 changed files with 175 additions and 3 deletions

View File

@@ -981,9 +981,6 @@ nsMenuPopupFrame::SetPopupPosition(nsIFrame* aAnchorFrame)
parentViewWidgetOffset.x - parentPos.x;
ypos = screenViewLocY - presContext->DevPixelsToAppUnits(screenParentWidgetRect.y) -
parentViewWidgetOffset.y - parentPos.y;
// once the popup is positioned on screen, it doesn't need to be positioned again
mShouldAutoPosition = PR_FALSE;
}
// Compute info about the screen dimensions. Because of multiple monitor systems,