Rename Selector -> Picker in theme

This commit is contained in:
Max Brunsfeld 2022-04-28 14:45:32 -07:00
parent 79fad42424
commit a60c75e343
18 changed files with 32 additions and 32 deletions

View file

@ -33,7 +33,7 @@ pub enum Event {
impl GoToLine {
pub fn new(active_editor: ViewHandle<Editor>, cx: &mut ViewContext<Self>) -> Self {
let line_editor = cx.add_view(|cx| {
Editor::single_line(Some(|theme| theme.selector.input_editor.clone()), cx)
Editor::single_line(Some(|theme| theme.picker.input_editor.clone()), cx)
});
cx.subscribe(&line_editor, Self::on_line_editor_event)
.detach();
@ -152,7 +152,7 @@ impl View for GoToLine {
}
fn render(&mut self, cx: &mut RenderContext<Self>) -> ElementBox {
let theme = &cx.global::<Settings>().theme.selector;
let theme = &cx.global::<Settings>().theme.picker;
let label = format!(
"{},{} of {} lines",