fix sorting alg

This commit is contained in:
Josh Deprez 2021-09-02 16:16:47 +10:00
parent 0565ef0b7f
commit e74ea8de3e
2 changed files with 1 additions and 1 deletions

View file

@ -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.