mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
make sure line 1 changes don't hide under toolbar
This commit is contained in:
parent
064ae1945a
commit
4f8055d998
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue