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

Replace some more union usages

This commit is contained in:
lucasmerlin
2025-07-09 15:30:11 +02:00
parent 57accb6e1d
commit 335c76a977

View File

@@ -993,9 +993,9 @@ impl Response {
ctx: other.ctx,
layer_id: self.layer_id,
id: self.id,
rect: self.rect.union(other.rect),
interact_rect: self.interact_rect.union(other.interact_rect),
sense: self.sense.union(other.sense),
rect: self.rect | other.rect,
interact_rect: self.interact_rect | other.interact_rect,
sense: self.sense | other.sense,
flags: self.flags | other.flags,
interact_pointer_pos: self.interact_pointer_pos.or(other.interact_pointer_pos),
intrinsic_size: None,