Commit 7d0a26f0 authored by Randall Leeds's avatar Randall Leeds

'Down jump' tab should ignore current screen

Fixes #435
parent b7c7074b
......@@ -73,7 +73,7 @@ class App
# If it's the lower tab, scroll to next bucket below
else if heatmap.isLower bucket
threshold = offset + heatmap.index[0] + pad
threshold = offset + heatmap.index[0] + height - pad
next = highlights.reduce (next, hl) ->
if threshold < hl.offset.top < next then hl.offset.top else next
, Number.MAX_VALUE
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment