mirror of
https://github.com/emilk/egui.git
synced 2026-07-14 18:48:54 +00:00
93d562221b
Previously a single-negative rectangle (where `min.x > max.x` XOR `min.y > max.y`) would return a negative area, while a doubly-negative rectangle (`min.x > max.x` AND `min.y > max.y`) would return a positive area. Now both return zero instead.