mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-25 02:00:10 +02: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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user