Do not occlude terminal pane by terminal element (#12677)

Release Notes:

- Fixed file drag and drop not working for terminal

Co-authored-by: Antonio Scandurra <antonio@zed.dev>
This commit is contained in:
Kirill Bulatov 2024-06-05 13:43:18 +03:00 committed by GitHub
parent 27e9c68988
commit 1768c0d996
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -553,7 +553,6 @@ impl Element for TerminalElement {
global_id: Option<&GlobalElementId>,
cx: &mut WindowContext,
) -> (LayoutId, Self::RequestLayoutState) {
self.interactivity.occlude_mouse();
let layout_id = self
.interactivity
.request_layout(global_id, cx, |mut style, cx| {