2 Commits

Author SHA1 Message Date
df7899ee4b Merge pull request 'prevent drawing separators on starting lines of fields' (#17) from rajayonin/rivet-typst:fix-consecutive-ranges into dev
Reviewed-on: HEL/rivet-typst#17
Reviewed-by: Louis Heredero <louis@herdac.ch>
2025-11-28 11:37:43 +00:00
b6f2fd99b8 prevent drawing separators on starting lines of fields
On non-consecutive ranges, we were drawing the starting line _on top_ of
the separator, which lead to some visual glitches in some viewers.
2025-11-25 09:02:49 +01:00

View File

@@ -392,7 +392,6 @@
range-boundaries.push(start-i)
range-boundaries.push(end-i)
}
range-boundaries.dedup()
// Draw colors
for i in range(struct.bits) {