blanks for leg

This commit is contained in:
Josh Deprez 2021-09-14 09:59:06 +10:00
parent 4a86657f2b
commit 05d60dce5d

View file

@ -460,7 +460,9 @@ func (d drawList) Less(i, j int) bool {
} }
return d.list[i].DrawBefore(d.list[j]) || d.list[j].DrawAfter(d.list[i]) return d.list[i].DrawBefore(d.list[j]) || d.list[j].DrawAfter(d.list[i])
} }
func (d drawList) Len() int { return len(d.list) } func (d drawList) Len() int { return len(d.list) }
func (d drawList) Swap(i, j int) { func (d drawList) Swap(i, j int) {
d.rev[d.list[i]], d.rev[d.list[j]] = j, i d.rev[d.list[i]], d.rev[d.list[j]] = j, i
d.list[i], d.list[j] = d.list[j], d.list[i] d.list[i], d.list[j] = d.list[j], d.list[i]