egui/crates
Andrew Farkas 329c8f2fc1
Fix panic due to non-total ordering in `Area::compare_order()` (#5569)
[Area::compare_order()](ee4ab08c8a/crates/egui/src/memory/mod.rs (L1174-L1183))
is not a total ordering. If three layers A, B, and C have the same
`order` field but only A and B are present in `order_map`, then `A==C`
and `B==C` but `A!=C`. This can cause a panic in the stdlib sort
function, and does in [my
app](https://github.com/HactarCE/Hyperspeedcube/tree/v2.0) although it's
very difficult to reproduce.

* [x] I have self-reviewed this PR and run `./scripts/check.sh`
* [x] I have followed the instructions in the PR template
2025-01-07 08:37:23 +01:00
..
ecolor Release 0.30 - egui_kittest and modals (#5487) 2024-12-16 17:45:35 +01:00
eframe Add `Harness::new_eframe` and `TestRenderer` trait (#5539) 2025-01-02 17:48:39 +01:00
egui Fix panic due to non-total ordering in `Area::compare_order()` (#5569) 2025-01-07 08:37:23 +01:00
egui-wgpu Add `Harness::new_eframe` and `TestRenderer` trait (#5539) 2025-01-02 17:48:39 +01:00
egui-winit Serialize window maximized state in `WindowSettings` (#5554) 2025-01-06 09:19:17 +01:00
egui_demo_app Change `Harness::run` to run until no more repaints are requested (#5580) 2025-01-07 08:33:44 +01:00
egui_demo_lib Change `Harness::run` to run until no more repaints are requested (#5580) 2025-01-07 08:33:44 +01:00
egui_extras Support RGB WebP images (#5586) 2025-01-07 08:35:58 +01:00
egui_glow Revert "Revert "forward x11 and wayland features to glutin" (#5391)" (#5490) 2024-12-17 09:36:03 +01:00
egui_kittest Change `Harness::run` to run until no more repaints are requested (#5580) 2025-01-07 08:33:44 +01:00
egui_plot Move `egui_plot` to its own repo (#4828) 2024-07-15 18:45:19 +02:00
egui_web Fix typos (#2866) 2023-04-18 15:52:45 +02:00
emath Make all lines and rectangles crisp (#5518) 2024-12-26 21:02:27 +01:00
epaint Better rounding of rectangles with thin outlines (#5571) 2025-01-02 23:50:40 +01:00
epaint_default_fonts Release 0.30 - egui_kittest and modals (#5487) 2024-12-16 17:45:35 +01:00