@codingame/monaco-vscode-workbench-service-override 34.0.1 → 34.0.3

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-workbench-service-override",
3
- "version": "34.0.1",
3
+ "version": "34.0.3",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor - workbench service-override",
6
6
  "keywords": [],
@@ -15,13 +15,13 @@
15
15
  },
16
16
  "type": "module",
17
17
  "dependencies": {
18
- "@codingame/monaco-vscode-api": "34.0.1",
19
- "@codingame/monaco-vscode-keybindings-service-override": "34.0.1",
20
- "@codingame/monaco-vscode-quickaccess-service-override": "34.0.1",
21
- "@codingame/monaco-vscode-view-banner-service-override": "34.0.1",
22
- "@codingame/monaco-vscode-view-common-service-override": "34.0.1",
23
- "@codingame/monaco-vscode-view-status-bar-service-override": "34.0.1",
24
- "@codingame/monaco-vscode-view-title-bar-service-override": "34.0.1"
18
+ "@codingame/monaco-vscode-api": "34.0.3",
19
+ "@codingame/monaco-vscode-keybindings-service-override": "34.0.3",
20
+ "@codingame/monaco-vscode-quickaccess-service-override": "34.0.3",
21
+ "@codingame/monaco-vscode-view-banner-service-override": "34.0.3",
22
+ "@codingame/monaco-vscode-view-common-service-override": "34.0.3",
23
+ "@codingame/monaco-vscode-view-status-bar-service-override": "34.0.3",
24
+ "@codingame/monaco-vscode-view-title-bar-service-override": "34.0.3"
25
25
  },
26
26
  "main": "index.js",
27
27
  "module": "index.js",
@@ -488,12 +488,7 @@ class Layout extends Disposable {
488
488
  this.parent,
489
489
  this.contextService.getWorkbenchState() === WorkbenchState.EMPTY ? DEFAULT_EMPTY_WINDOW_DIMENSIONS : DEFAULT_WORKSPACE_WINDOW_DIMENSIONS
490
490
  );
491
- this.stateModel = ( new LayoutStateModel(
492
- this.storageService,
493
- this.configurationService,
494
- this.contextService,
495
- this.environmentService
496
- ));
491
+ this.stateModel = ( new LayoutStateModel(this.storageService, this.configurationService, this.contextService));
497
492
  this.stateModel.load({
498
493
  mainContainerDimension: this._mainContainerDimension,
499
494
  resetLayout: Boolean(this.layoutOptions?.resetLayout)
@@ -2321,12 +2316,11 @@ class LayoutStateModel extends Disposable {
2321
2316
  static {
2322
2317
  this.STORAGE_PREFIX = "workbench.";
2323
2318
  }
2324
- constructor(storageService, configurationService, contextService, environmentService) {
2319
+ constructor(storageService, configurationService, contextService) {
2325
2320
  super();
2326
2321
  this.storageService = storageService;
2327
2322
  this.configurationService = configurationService;
2328
2323
  this.contextService = contextService;
2329
- this.environmentService = environmentService;
2330
2324
  this._onDidChangeState = this._register(( new Emitter()));
2331
2325
  this.onDidChangeState = this._onDidChangeState.event;
2332
2326
  this.stateCache = ( new Map());
@@ -2398,9 +2392,6 @@ class LayoutStateModel extends Disposable {
2398
2392
  LayoutStateKeys.SIDEBAR_HIDDEN.defaultValue = workbenchState === WorkbenchState.EMPTY || auxiliaryBarForceMaximized === true;
2399
2393
  LayoutStateKeys.AUXILIARYBAR_SIZE.defaultValue = auxiliaryBarForceMaximized ? Math.max(300, mainContainerDimension.width / 2) : Math.min(300, mainContainerDimension.width / 4);
2400
2394
  LayoutStateKeys.AUXILIARYBAR_HIDDEN.defaultValue = (() => {
2401
- if (isWeb && !this.environmentService.remoteAuthority) {
2402
- return true;
2403
- }
2404
2395
  if (auxiliaryBarForceMaximized === true) {
2405
2396
  return false;
2406
2397
  }