mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-21 00:13:37 +00:00
Merge pull request #7983 from overleaf/td-cm6-smooth-scroll-between-comments
Enable animation when positioning comments in CM6 GitOrigin-RevId: 9a5355c3c2105a3dfa26590c2b007571b55c9dcc
This commit is contained in:
parent
a3459a1842
commit
9062d4ce5d
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ export default App.directive('reviewPanelSorted', $timeout => ({
|
|||
} else {
|
||||
entry.$layout_el = entry.$indicator_el
|
||||
}
|
||||
entry.height = entry.$layout_el.height() // Do all of our DOM reads first for perfomance, see http://wilsonpage.co.uk/preventing-layout-thrashing/
|
||||
entry.height = entry.$layout_el.height() // Do all of our DOM reads first for performance, see http://wilsonpage.co.uk/preventing-layout-thrashing/
|
||||
entries.push(entry)
|
||||
}
|
||||
entries.sort((a, b) => a.scope.entry.offset - b.scope.entry.offset)
|
||||
|
|
Loading…
Add table
Reference in a new issue