fixup! Merge branch 'main' into search2

This commit is contained in:
Piotr Osiewicz 2023-11-20 18:42:15 +01:00
parent 07cc5904f8
commit fa8cd843ca
4 changed files with 6 additions and 11 deletions

View file

@ -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
}