提交 27f71f85 编写于 作者: C Christof Marti

Use VSCode icons (fixes #18860)

上级 4b4ad2d9
......@@ -2,7 +2,7 @@
"name": "code-oss-dev",
"version": "1.9.0",
"electronVersion": "1.4.6",
"distro": "5bcedc41285b89095665e324e070597f3f016f66",
"distro": "0935b6e8282ef1f7f7c5675383b2b5e36ea2d853",
"author": {
"name": "Microsoft Corporation"
},
......
......@@ -29,7 +29,7 @@ export class EditorWalkThroughAction extends Action {
}
public run(): TPromise<void> {
const uri = URI.parse(require.toUrl('./editorWalkThrough.md'))
const uri = URI.parse(require.toUrl('./vs_code_editor_walkthrough.md'))
.with({ scheme: Schemas.walkThrough });
const input = this.instantiationService.createInstance(WalkThroughInput, localize('editorWalkThrough.title', "Interactive Playground"), '', uri, /* telemetryFrom */ null, /* onReady */ null);
return this.editorService.openEditor(input, { pinned: true }, Position.ONE)
......
......@@ -139,6 +139,11 @@
white-space: pre;
}
.show-file-icons .vs_code_editor_walkthrough\.md-name-file-icon.md-ext-file-icon.markdown-lang-file-icon.file-icon::before {
content: ' ';
background-image: url('../../../../../../resources/code-icon.svg');
}
.monaco-workbench > .part.editor > .content .walkThroughContent .mac-only,
.monaco-workbench > .part.editor > .content .walkThroughContent .windows-only,
.monaco-workbench > .part.editor > .content .walkThroughContent .linux-only {
......
......@@ -250,6 +250,11 @@
display: none;
}
.show-file-icons .vs_code_welcome_page\.html-name-file-icon.html-ext-file-icon.html-lang-file-icon.file-icon::before {
content: ' ';
background-image: url('../../../../../../resources/code-icon.svg');
}
.monaco-workbench > .part.editor > .content .welcomePage .mac-only,
.monaco-workbench > .part.editor > .content .welcomePage .windows-only,
.monaco-workbench > .part.editor > .content .welcomePage .linux-only {
......
......@@ -92,7 +92,7 @@ class WelcomePage {
private create() {
const recentlyOpened = this.windowService.getRecentlyOpen();
const uri = URI.parse(require.toUrl('./welcomePage.html'))
const uri = URI.parse(require.toUrl('./vs_code_welcome_page.html'))
.with({ scheme: Schemas.walkThrough });
const input = this.instantiationService.createInstance(WalkThroughInput, localize('welcome.title', "Welcome"), '', uri, 'welcomePage', container => this.onReady(container, recentlyOpened));
this.editorService.openEditor(input, { pinned: true }, Position.ONE)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册