DescriptionDevTools: defer reveal in TreeOutline using rAF
- only do scrollIntoViewIfNeeded() in a rAF callback to avoid forcing layout;
- get rid of TreeElement.onreveal() as most implementation were a no-op just
repeating what the call site has already done;
- added `center' parameter to TreeElement.reveal()
- do not center when scrolling with keyboard or searching;
BUG=
Committed: https://crrev.com/a5f7c0a3696886422abc479b6da79c1b7dc1fbda
Cr-Commit-Position: refs/heads/master@{#361209}
Patch Set 1 #
Messages
Total messages: 15 (6 generated)
|