fix sorting alg
This commit is contained in:
parent
0565ef0b7f
commit
e74ea8de3e
2 changed files with 1 additions and 1 deletions
|
@ -430,7 +430,7 @@ type drawList []Drawer
|
||||||
|
|
||||||
func (d drawList) Less(i, j int) bool {
|
func (d drawList) Less(i, j int) bool {
|
||||||
a0, a1 := d[i].DrawOrder()
|
a0, a1 := d[i].DrawOrder()
|
||||||
b0, b1 := d[i].DrawOrder()
|
b0, b1 := d[j].DrawOrder()
|
||||||
if a0 == b0 {
|
if a0 == b0 {
|
||||||
return a1 < b1
|
return a1 < b1
|
||||||
}
|
}
|
||||||
|
|
Binary file not shown.
Loading…
Reference in a new issue