1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-02 06:40:06 -04:00

Replace some more union usages

This commit is contained in:
lucasmerlin
2025-07-09 14:59:51 +02:00
parent 86d1c0e40a
commit 57accb6e1d
8 changed files with 13 additions and 17 deletions

View File

@@ -162,7 +162,7 @@ impl<'l> StripLayout<'l> {
} else if flags.clip {
max_rect
} else {
max_rect.union(used_rect)
max_rect | used_rect
};
self.set_pos(allocation_rect);