Commit f77279383b6c409cac281f81232a54acbf724261
Fix horizontal overflow
cel committed on 3/6/2021, 6:16:04 PMParent: 550f7bbbe4c707cebb415750fb3a7d562ace8b8a
Files changed
run.js | changed |
run.js | |||
---|---|---|---|
@@ -71,9 +71,9 @@ | |||
71 | 71 … | pull.filter(Boolean), | |
72 | 72 … | pull.map(JSON.parse), | |
73 | 73 … | pull.drain(function (interval) { | |
74 | 74 … | var x = interval.time - startT | |
75 | - if (x <= 0 || x > width) return | ||
75 … | + if (x <= 0 || x >= width) return | ||
76 | 76 … | var ids = interval.ids.sort(compareIds) | |
77 | 77 … | for (var i = 0; i < ids.length; i++) { | |
78 | 78 … | var id = ids[i] | |
79 | 79 … | var y = height - i |
Built with git-ssb-web