mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-30 09:45:29 -05:00
Increase offscreen lines considered for visibility
This commit is contained in:
parent
8c5800ceaf
commit
6c21d19894
1 changed files with 1 additions and 1 deletions
|
@ -307,7 +307,7 @@ define [
|
|||
@$scope.$apply()
|
||||
|
||||
recalculateVisibleEntries: () ->
|
||||
OFFSCREEN_ROWS = 5
|
||||
OFFSCREEN_ROWS = 20
|
||||
CULL_AFTER = 100 # With less than this number of entries, don't bother culling to avoid little UI jumps when scrolling.
|
||||
{firstRow, lastRow} = @editor.renderer.layerConfig
|
||||
entries = @_getCurrentDocEntries() or {}
|
||||
|
|
Loading…
Reference in a new issue