Skip to content

Commit

Permalink
[decorators] contentIconPath doesn't follow URLs like gutterIconPath. F…
Browse files Browse the repository at this point in the history
…ixes #11055
  • Loading branch information
aeschli committed Aug 29, 2016
1 parent 943661c commit 4950c7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vs/editor/browser/services/codeEditorServiceImpl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ class DecorationRenderHelper {
if (typeof opts !== 'undefined') {
DecorationRenderHelper.collectBorderSettingsCSSText(opts, cssTextArr);
if (typeof opts.contentIconPath !== 'undefined') {
cssTextArr.push(strings.format(this._CSS_MAP.contentIconPath, URI.file(opts.contentIconPath).toString()));
cssTextArr.push(strings.format(this._CSS_MAP.contentIconPath, URI.parse(opts.contentIconPath).toString()));
}
if (typeof opts.contentText !== 'undefined') {
let escaped = opts.contentText.replace(/\"/g, '\\\"');
Expand Down

0 comments on commit 4950c7c

Please sign in to comment.