Show placeholder text for pickers
This commit is contained in:
parent
08b84416d2
commit
0b231e58fd
19 changed files with 76 additions and 40 deletions
|
@ -23,6 +23,7 @@ use std::{
|
|||
ffi::OsStr,
|
||||
ops::Range,
|
||||
path::{Path, PathBuf},
|
||||
sync::Arc,
|
||||
};
|
||||
use unicase::UniCase;
|
||||
use workspace::Workspace;
|
||||
|
@ -175,11 +176,11 @@ impl ProjectPanel {
|
|||
|
||||
let filename_editor = cx.add_view(|cx| {
|
||||
Editor::single_line(
|
||||
Some(|theme| {
|
||||
Some(Arc::new(|theme| {
|
||||
let mut style = theme.project_panel.filename_editor.clone();
|
||||
style.container.background_color.take();
|
||||
style
|
||||
}),
|
||||
})),
|
||||
cx,
|
||||
)
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue