This wasn't supposed to go in either.

This commit is contained in:
bzbarsky%mit.edu 2005-01-25 19:05:41 +00:00
Родитель 9c77d70b55
Коммит 7b6c30b18b
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -1144,9 +1144,9 @@ nsMenuPopupFrame::SyncViewWithFrame(nsPresContext* aPresContext,
// shrink to fit onto the screen, vertically and horizontally
if(mRect.width > screenWidthTwips)
mRect.width = screenWidthTwips;
mRect.width = screenWidthTwips;
if(mRect.height > screenHeightTwips)
mRect.height = screenHeightTwips;
mRect.height = screenHeightTwips;
// we now know where the view is...make sure that it's still onscreen at all!
if ( screenViewLocX < screenLeftTwips ) {