зеркало из https://github.com/mozilla/pjs.git
Bug 748991 The Find in Page Dialog does not vertically center the highlighted result like the findbar does r=ehsan.
--HG-- extra : rebase_source : be6e9164df9e943d598db0f4f3f07b266d6bb6f4
This commit is contained in:
Родитель
74b82e66cf
Коммит
6a0b9721d8
|
@ -450,6 +450,7 @@ void nsWebBrowserFind::SetSelectionAndScroll(nsIDOMWindow* aWindow,
|
|||
selCon->ScrollSelectionIntoView
|
||||
(nsISelectionController::SELECTION_NORMAL,
|
||||
nsISelectionController::SELECTION_WHOLE_SELECTION,
|
||||
nsISelectionController::SCROLL_CENTER_VERTICALLY |
|
||||
nsISelectionController::SCROLL_SYNCHRONOUS);
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче