mirror of
https://github.com/Microsoft/vscode
synced 2024-09-19 10:40:41 +00:00
Fix image views not being activated properly
This commit is contained in:
parent
2235ebf5db
commit
d91209b356
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue