зеркало из https://github.com/mozilla/gecko-dev.git
This wasn't supposed to go in either.
This commit is contained in:
Родитель
9c77d70b55
Коммит
7b6c30b18b
|
@ -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 ) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче