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
Родитель 91842d00ed
Коммит e8ff515f5a
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -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;