@codingame/monaco-vscode-layout-service-override 28.0.0 → 28.0.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.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -367,7 +367,7 @@ class LayoutService extends Disposable {
367
367
  }
368
368
  }
369
369
  layout() {
370
- this._mainContainerDimension = getClientArea(window.document.body);
370
+ this._mainContainerDimension = getClientArea(this.mainContainer);
371
371
  this._onDidLayout.fire(this._mainContainerDimension);
372
372
  }
373
373
  get hasContainer() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-layout-service-override",
3
- "version": "28.0.0",
3
+ "version": "28.0.1",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor - layout service-override",
6
6
  "keywords": [],
@@ -15,7 +15,7 @@
15
15
  },
16
16
  "type": "module",
17
17
  "dependencies": {
18
- "@codingame/monaco-vscode-api": "28.0.0"
18
+ "@codingame/monaco-vscode-api": "28.0.1"
19
19
  },
20
20
  "main": "index.js",
21
21
  "module": "index.js",