Fix copilot modal (#9613)
Release Notes: - Fixed copilot modal not responding ([#9596](https://github.com/zed-industries/zed/issues/9596)). (preview only)
This commit is contained in:
parent
0b019282c3
commit
1062c5bd26
1 changed files with 1 additions and 2 deletions
|
@ -194,9 +194,8 @@ impl Render for CopilotCodeVerification {
|
|||
.on_action(cx.listener(|_, _: &menu::Cancel, cx| {
|
||||
cx.emit(DismissEvent);
|
||||
}))
|
||||
.capture_any_mouse_down(cx.listener(|this, _: &MouseDownEvent, cx| {
|
||||
.on_any_mouse_down(cx.listener(|this, _: &MouseDownEvent, cx| {
|
||||
cx.focus(&this.focus_handle);
|
||||
cx.stop_propagation();
|
||||
}))
|
||||
.child(
|
||||
svg()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue