@codingame/monaco-vscode-view-title-bar-service-override 3.0.0 → 3.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-view-title-bar-service-override",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1.1",
|
|
4
4
|
"keywords": [],
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "CodinGame",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"module": "index.js",
|
|
19
19
|
"types": "index.d.ts",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"vscode": "npm:@codingame/monaco-vscode-api@3.
|
|
21
|
+
"vscode": "npm:@codingame/monaco-vscode-api@3.1.1",
|
|
22
22
|
"vscode-marked": "npm:marked@=3.0.2"
|
|
23
23
|
}
|
|
24
24
|
}
|
|
@@ -31,7 +31,7 @@ import { CommandCenterControl } from './commandCenterControl.js';
|
|
|
31
31
|
import { Categories } from 'vscode/vscode/vs/platform/action/common/actionCommonCategories';
|
|
32
32
|
import { WorkbenchToolBar } from 'vscode/vscode/vs/platform/actions/browser/toolbar';
|
|
33
33
|
import { GLOBAL_ACTIVITY_ID, ACCOUNTS_ACTIVITY_ID } from 'vscode/vscode/vs/workbench/common/activity';
|
|
34
|
-
import { SimpleGlobalActivityActionViewItem } from 'vscode/vscode/vs/workbench/browser/parts/globalCompositeBar';
|
|
34
|
+
import { SimpleGlobalActivityActionViewItem, SimpleAccountActivityActionViewItem } from 'vscode/vscode/vs/workbench/browser/parts/globalCompositeBar';
|
|
35
35
|
import { IEditorGroupsService } from 'vscode/vscode/vs/workbench/services/editor/common/editorGroupsService';
|
|
36
36
|
import { ActionRunner } from 'vscode/vscode/vs/base/common/actions';
|
|
37
37
|
import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService';
|
|
@@ -324,6 +324,9 @@ let BrowserTitlebarPart = class BrowserTitlebarPart extends Part {
|
|
|
324
324
|
if (action.id === GLOBAL_ACTIVITY_ID) {
|
|
325
325
|
return this.instantiationService.createInstance(SimpleGlobalActivityActionViewItem, { position: () => 2 }, options);
|
|
326
326
|
}
|
|
327
|
+
if (action.id === ACCOUNTS_ACTIVITY_ID) {
|
|
328
|
+
return this.instantiationService.createInstance(SimpleAccountActivityActionViewItem, { position: () => 2 }, options);
|
|
329
|
+
}
|
|
327
330
|
}
|
|
328
331
|
const activeEditorPane = this.editorGroupsContainer.activeGroup?.activeEditorPane;
|
|
329
332
|
if (activeEditorPane && activeEditorPane instanceof EditorPane) {
|