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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user