blanks for leg
This commit is contained in:
parent
4a86657f2b
commit
05d60dce5d
1 changed files with 2 additions and 0 deletions
|
@ -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]
|
||||||
|
|
Loading…
Reference in a new issue