git ssb

0+

cel / ssb-activity



Commit 13a56db77e095500eb68f9e4a064587c2f48bbfa

Limit to max and min time

cel committed on 3/6/2021, 5:18:07 PM
Parent: ff98921335def95aebf4415c69f785dca02cbcc9

Files changed

run.jschanged
run.jsView
@@ -71,8 +71,9 @@
7171 pull.filter(Boolean),
7272 pull.map(JSON.parse),
7373 pull.drain(function (interval) {
7474 var x = interval.time - startT
75 + if (x <= 0 || x > width) return
7576 var ids = interval.ids.sort(compareIds)
7677 for (var i = 0; i < ids.length; i++) {
7778 var id = ids[i]
7879 var y = height - i

Built with git-ssb-web