Avoid creating occlusions for editor blocks, since these block mouse wheel events (#20649)

Just block mouse down events, and in the case of the inline assist
prompt, set the default cursor.

Release Notes:

- N/A

Co-authored-by: Richard <richard@zed.dev>
This commit is contained in:
Max Brunsfeld
2024-11-13 21:02:54 -08:00
committed by GitHub
co-authored by Richard
parent 6b3c909155
commit 093c9cc87b
6 changed files with 20 additions and 13 deletions
+1 -1
View File
@@ -163,7 +163,7 @@ impl EditorBlock {
div()
.id(cx.block_id)
.occlude()
.block_mouse_down()
.flex()
.items_start()
.min_h(text_line_height)