Open zrksyd opened 1 year ago
The values should already be added in the order XYZW. It looks like egui is using a B-tree internally, so I'm not sure if there's an easy way to fix this. It's probably happening because w < x < y < z alphabetically. https://github.com/emilk/egui/blob/da0a1787019cb28c26e969bc537a191f2ed302f3/crates/egui/src/widgets/plot/legend.rs#L155-L160
In the legend of the ANIM editor graph, the legend should be ordered XYZW but it's ordered WXYZ instead.