Compare commits
2 Commits
dev
...
3a0331f33b
| Author | SHA1 | Date | |
|---|---|---|---|
| 3a0331f33b | |||
| 1ed60e6bfe |
@@ -387,9 +387,12 @@
|
|||||||
}
|
}
|
||||||
let range-boundaries = ()
|
let range-boundaries = ()
|
||||||
for r in struct.ranges.values() {
|
for r in struct.ranges.values() {
|
||||||
let i = to-real-i(if config.ltr-bits {r.start} else {r.end})
|
let start-i = to-real-i(if config.ltr-bits {r.start} else {r.end})
|
||||||
range-boundaries.push(i)
|
let end-i = to-real-i(if config.ltr-bits {r.end} else {r.start}) + 1
|
||||||
|
range-boundaries.push(start-i)
|
||||||
|
range-boundaries.push(end-i)
|
||||||
}
|
}
|
||||||
|
range-boundaries = range-boundaries.dedup()
|
||||||
|
|
||||||
// Draw colors
|
// Draw colors
|
||||||
for i in range(struct.bits) {
|
for i in range(struct.bits) {
|
||||||
|
|||||||
Reference in New Issue
Block a user