Fix image views not being activated properly

This commit is contained in:
Matt Bierner 2019-10-02 14:13:01 -07:00
parent 2235ebf5db
commit d91209b356

View file

@ -175,7 +175,7 @@ export class CustomEditorService implements ICustomEditorService {
const existingEditors = group.editors.filter(editor => editor.getResource() && isEqual(editor.getResource()!, resource));
if (existingEditors.length) {
const existing = existingEditors[0];
if (existing.matches(input)) {
if (input.matches(existing)) {
return;
}