mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
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:
parent
75c324aebc
commit
0c292a1bfc
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user