1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-31 05:40:03 -04:00

Implement BitOr and BitOrAssign for Rect (#7319)

This commit is contained in:
Lucas Meurer
2025-07-09 15:29:51 +02:00
committed by GitHub
parent 207e71c2ae
commit 9fd0ad36e0
16 changed files with 45 additions and 32 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);