Increase offscreen lines considered for visibility

This commit is contained in:
James Allen 2017-02-20 16:24:19 +01:00
parent 8c5800ceaf
commit 6c21d19894

View file

@ -307,7 +307,7 @@ define [
@$scope.$apply() @$scope.$apply()
recalculateVisibleEntries: () -> 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. 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 {firstRow, lastRow} = @editor.renderer.layerConfig
entries = @_getCurrentDocEntries() or {} entries = @_getCurrentDocEntries() or {}