fix bug 331430, new pop-up blocker shifts scrollbar down. also fixes bug 331913, highlighted text for a scrolling find is below viewport when popup blocker is open. sr=pink

This commit is contained in:
hwaara%gmail.com 2006-05-11 19:47:32 +00:00
parent 91842d00ed
commit e8ff515f5a

View File

@ -257,7 +257,7 @@ static NSString* const kOfflineNotificationName = @"offlineModeChanged";
NSRect browserFrame = [mBrowserView frame];
browserFrame.origin.y = popupBlockFrame.size.height;
browserFrame.size.width = bounds.size.width;
browserFrame.size.height = bounds.size.height;
browserFrame.size.height = bounds.size.height-popupBlockFrame.size.height;
popupBlockFrame.origin = NSZeroPoint;
popupBlockFrame.size.width = bounds.size.width;