svg_preview: Remove unnecessary dependency on editor (#43147)
Editor is a choke point in our compilation graph while also being a very common crate that is being edited. So reducing things that depend on it will generally improve compilation times for us. Release Notes: - N/A *or* Added/Fixed/Improved ...
This commit is contained in:
@@ -32,7 +32,7 @@ impl QuickActionBar {
|
||||
.is_some()
|
||||
{
|
||||
preview_type = Some(PreviewType::Markdown);
|
||||
} else if SvgPreviewView::resolve_active_item_as_svg_editor(workspace, cx).is_some()
|
||||
} else if SvgPreviewView::resolve_active_item_as_svg_buffer(workspace, cx).is_some()
|
||||
{
|
||||
preview_type = Some(PreviewType::Svg);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user