Wrap current directory picker with overlay widget (#2308)
This commit is contained in:
parent
3a398eec56
commit
477b88e99c
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue