fixup! Merge branch 'main' into search2
This commit is contained in:
parent
07cc5904f8
commit
fa8cd843ca
4 changed files with 6 additions and 11 deletions
|
@ -742,7 +742,7 @@ impl Item for ProjectDiagnosticsEditor {
|
|||
}
|
||||
|
||||
fn breadcrumb_location(&self) -> ToolbarItemLocation {
|
||||
ToolbarItemLocation::PrimaryLeft { flex: None }
|
||||
ToolbarItemLocation::PrimaryLeft
|
||||
}
|
||||
|
||||
fn breadcrumbs(&self, theme: &theme::Theme, cx: &AppContext) -> Option<Vec<BreadcrumbText>> {
|
||||
|
|
|
@ -49,7 +49,7 @@ impl ToolbarItemView for ToolbarControls {
|
|||
if let Some(pane_item) = active_pane_item.as_ref() {
|
||||
if let Some(editor) = pane_item.downcast::<ProjectDiagnosticsEditor>() {
|
||||
self.editor = Some(editor.downgrade());
|
||||
ToolbarItemLocation::PrimaryRight { flex: None }
|
||||
ToolbarItemLocation::PrimaryRight
|
||||
} else {
|
||||
ToolbarItemLocation::Hidden
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue