mirror of
https://github.com/zed-industries/zed.git
synced 2025-02-10 04:09:37 +00:00
Do not show signature help when editor is not focused (#15080)
Show the help again, if it was not dismissed and the editor regains focus. Release Notes: - N/A
This commit is contained in:
parent
faf5ab7873
commit
babf8923ee
1 changed files with 3 additions and 0 deletions
|
@ -2805,6 +2805,9 @@ impl EditorElement {
|
|||
em_width: Pixels,
|
||||
cx: &mut WindowContext,
|
||||
) {
|
||||
if !self.editor.focus_handle(cx).is_focused(cx) {
|
||||
return;
|
||||
}
|
||||
let Some(newest_selection_head) = newest_selection_head else {
|
||||
return;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue