mirror of https://github.com/helix-editor/helix
fix: Make code-action popup auto close like other popups (#13832)
parent
974ac9eaf3
commit
c3c4895179
|
@ -807,7 +807,9 @@ pub fn code_action(cx: &mut Context) {
|
||||||
});
|
});
|
||||||
picker.move_down(); // pre-select the first item
|
picker.move_down(); // pre-select the first item
|
||||||
|
|
||||||
let popup = Popup::new("code-action", picker).with_scrollbar(false);
|
let popup = Popup::new("code-action", picker)
|
||||||
|
.with_scrollbar(false)
|
||||||
|
.auto_close(true);
|
||||||
|
|
||||||
compositor.replace_or_push("code-action", popup);
|
compositor.replace_or_push("code-action", popup);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue