Set assistant editor's title based on the first question/answer pair
Co-Authored-By: Julia Risley <julia@zed.dev>
This commit is contained in:
parent
69b8267b6b
commit
9c59146026
3 changed files with 111 additions and 13 deletions
|
@ -1151,7 +1151,8 @@ impl Pane {
|
|||
let theme = theme::current(cx).clone();
|
||||
let mut tooltip_theme = theme.tooltip.clone();
|
||||
tooltip_theme.max_text_width = None;
|
||||
let tab_tooltip_text = item.tab_tooltip_text(cx).map(|a| a.to_string());
|
||||
let tab_tooltip_text =
|
||||
item.tab_tooltip_text(cx).map(|text| text.into_owned());
|
||||
|
||||
move |mouse_state, cx| {
|
||||
let tab_style =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue