Add InteractiveElement::block_mouse which renders an "opaque" layer
Co-Authored-By: Antonio <antonio@zed.dev> Co-Authored-By: Max Brunsfeld <max@zed.dev>
This commit is contained in:
parent
dc047437c6
commit
fffb30ac6d
2 changed files with 18 additions and 5 deletions
|
@ -499,7 +499,8 @@ impl Render for Dock {
|
|||
cx.stop_propagation();
|
||||
}
|
||||
}))
|
||||
.z_index(1);
|
||||
.z_index(1)
|
||||
.block_mouse();
|
||||
|
||||
const HANDLE_SIZE: Pixels = Pixels(6.);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue