Wrap current directory picker with overlay widget (#2308)

pull/2315/head
CossonLeo 3 years ago committed by GitHub
parent 3a398eec56
commit 477b88e99c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2091,7 +2091,7 @@ fn file_picker(cx: &mut Context) {
fn file_picker_in_current_directory(cx: &mut Context) {
let cwd = std::env::current_dir().unwrap_or_else(|_| PathBuf::from("./"));
let picker = ui::file_picker(cwd, &cx.editor.config());
cx.push_layer(Box::new(picker));
cx.push_layer(Box::new(overlayed(picker)));
}
fn buffer_picker(cx: &mut Context) {

Loading…
Cancel
Save