未验证 提交 c6fa1cc8 编写于 作者: L Logan Ramos

Fix #129649

上级 e6b55f3e
......@@ -164,7 +164,7 @@ export class EditorResolverService extends Disposable implements IEditorResolver
// If it's the currently active editor we shouldn't do anything
const activeEditor = group.activeEditor;
const isActive = activeEditor ? activeEditor.editorId === selectedEditor.editorInfo.id && isEqual(activeEditor.resource, resource) : false;
const isActive = activeEditor ? activeEditor.matches(untypedEditor) : false;
if (activeEditor && isActive) {
return { editor: activeEditor, options, group };
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册