Block hovering behind overlays
This commit is contained in:
parent
5413a97c7e
commit
c3baf2748f
5 changed files with 34 additions and 31 deletions
|
@ -131,8 +131,7 @@ impl Element for MouseEventHandler {
|
|||
|
||||
cx.scene.push_mouse_region(MouseRegion {
|
||||
view_id: cx.current_view_id(),
|
||||
tag: self.tag,
|
||||
region_id: self.id,
|
||||
discriminant: Some((self.tag, self.id)),
|
||||
bounds: self.hit_bounds(bounds),
|
||||
hover: None,
|
||||
click: self.click_handler.clone(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue