Skip to content

Commit

Permalink
Merge pull request #7 from AscendingCreations/beta
Browse files Browse the repository at this point in the history
Make y before x to fix y offsets
  • Loading branch information
Andrew Wheeler(Genusis) authored May 17, 2024
2 parents da407ef + 44c9f83 commit 76e4812
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion graphics/src/systems/draw_order.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ impl Ord for DrawOrder {
self.layer
.cmp(&other.layer)
.then(self.alpha.cmp(&other.alpha))
.then(self.x.cmp(&other.x))
.then(self.y.cmp(&other.y).reverse())
.then(self.x.cmp(&other.x))
.then(self.z.cmp(&other.z).reverse())
}
}
Expand Down

0 comments on commit 76e4812

Please sign in to comment.