Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reorder XYZW in Anim Editor Graph #133

Open
zrksyd opened this issue Dec 11, 2022 · 1 comment
Open

Reorder XYZW in Anim Editor Graph #133

zrksyd opened this issue Dec 11, 2022 · 1 comment

Comments

@zrksyd
Copy link
Contributor

zrksyd commented Dec 11, 2022

In the legend of the ANIM editor graph, the legend should be ordered XYZW but it's ordered WXYZ instead.

@ScanMountGoat
Copy link
Owner

ScanMountGoat commented Dec 11, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants