make sure line 1 changes don't hide under toolbar

This commit is contained in:
James Allen 2016-11-08 16:51:20 +00:00
parent 064ae1945a
commit 4f8055d998

View file

@ -14,7 +14,7 @@ define [
}
entries.sort (a,b) -> a.scope.entry.offset - b.scope.entry.offset
previousBottom = 0
previousBottom = 28 # This should start at the height of the toolbar
for entry in entries
height = $(entry.el).height()
top = entry.scope.entry.screenPos.y