mirror of
https://github.com/emilk/egui.git
synced 2026-06-27 07:03:14 -04:00
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.