mirror of
https://github.com/emilk/egui.git
synced 2026-08-29 21:00:03 -04:00
Fix: centered horizontal layouts should never overflow upwards
This commit is contained in:
@@ -597,7 +597,7 @@ impl Tessellator {
|
||||
{
|
||||
return;
|
||||
}
|
||||
if rect.is_empty() {
|
||||
if rect.is_negative() {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user