Skip to content

Commit

Permalink
SVG images are not render in the tooltip (fix #123688)
Browse files Browse the repository at this point in the history
  • Loading branch information
bpasero committed May 21, 2021
1 parent 949f604 commit 100a707
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export class ProtocolMainService extends Disposable implements IProtocolMainServ
declare readonly _serviceBrand: undefined;

private readonly validRoots = TernarySearchTree.forUris<boolean>(() => !isLinux);
private readonly validExtensions = new Set(['.png', '.jpg', '.jpeg', '.gif', '.bmp']); // https://github.com/microsoft/vscode/issues/119384
private readonly validExtensions = new Set(['.svg', '.png', '.jpg', '.jpeg', '.gif', '.bmp']); // https://github.com/microsoft/vscode/issues/119384

constructor(
@INativeEnvironmentService environmentService: INativeEnvironmentService,
Expand Down

0 comments on commit 100a707

Please sign in to comment.