提交 6512f3de 编写于 作者: I isidor

running extensions: reuse extension-action

fixes #39613
上级 33ed3168
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
padding-left: 20px; padding-left: 20px;
} }
.runtime-extensions-editor .extension .icon { .runtime-extensions-editor .extension > .icon {
display: none; display: none;
} }
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
fill: rgb(181, 181, 255); fill: rgb(181, 181, 255);
} }
.runtime-extensions-editor .icon { .runtime-extensions-editor .extension > .icon {
width: 42px; width: 42px;
height: 42px; height: 42px;
padding: 10px 14px 10px 0; padding: 10px 14px 10px 0;
...@@ -85,16 +85,6 @@ ...@@ -85,16 +85,6 @@
padding-top: 21px; padding-top: 21px;
} }
.runtime-extensions-editor .monaco-action-bar .action-label {
background: #fef2c0;
border-radius: 6px;
padding: 2px;
}
.vs-dark .runtime-extensions-editor .monaco-action-bar .action-label {
background: #796926;
}
.monaco-workbench .part.statusbar .profileExtHost-statusbar-item .icon { .monaco-workbench .part.statusbar .profileExtHost-statusbar-item .icon {
background: url('profile-stop.svg') no-repeat; background: url('profile-stop.svg') no-repeat;
display: inline-block; display: inline-block;
......
...@@ -272,7 +272,7 @@ export class RuntimeExtensionsEditor extends BaseEditor { ...@@ -272,7 +272,7 @@ export class RuntimeExtensionsEditor extends BaseEditor {
animated: false animated: false
}); });
actionbar.onDidRun(({ error }) => error && this._messageService.show(Severity.Error, error)); actionbar.onDidRun(({ error }) => error && this._messageService.show(Severity.Error, error));
actionbar.push(new ReportExtensionIssueAction(), { icon: false }); actionbar.push(new ReportExtensionIssueAction(), { icon: true, label: true });
const disposables = [actionbar]; const disposables = [actionbar];
...@@ -474,7 +474,7 @@ class ReportExtensionIssueAction extends Action { ...@@ -474,7 +474,7 @@ class ReportExtensionIssueAction extends Action {
constructor( constructor(
id: string = ReportExtensionIssueAction.ID, label: string = ReportExtensionIssueAction.LABEL id: string = ReportExtensionIssueAction.ID, label: string = ReportExtensionIssueAction.LABEL
) { ) {
super(id, label, 'report-extension-issue'); super(id, label, 'extension-action report-issue');
} }
run(extension: IRuntimeExtension): TPromise<any> { run(extension: IRuntimeExtension): TPromise<any> {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册