@codingame/monaco-vscode-view-title-bar-service-override 6.0.3 → 7.0.0

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": "6.0.3",
3
+ "version": "7.0.0",
4
4
  "keywords": [],
5
5
  "author": {
6
6
  "name": "CodinGame",
@@ -26,6 +26,6 @@
26
26
  }
27
27
  },
28
28
  "dependencies": {
29
- "vscode": "npm:@codingame/monaco-vscode-api@6.0.3"
29
+ "vscode": "npm:@codingame/monaco-vscode-api@7.0.0"
30
30
  }
31
31
  }
@@ -75,7 +75,7 @@ let CommandCenterCenterViewItem = class CommandCenterCenterViewItem extends Base
75
75
  super.render(container);
76
76
  container.classList.add('command-center-center');
77
77
  container.classList.toggle('multiple', (this._submenu.actions.length > 1));
78
- const hover = this._store.add(this._hoverService.setupUpdatableHover(this._hoverDelegate, container, this.getTooltip()));
78
+ const hover = this._store.add(this._hoverService.setupManagedHover(this._hoverDelegate, container, this.getTooltip()));
79
79
  this._store.add(this._windowTitle.onDidChange(() => {
80
80
  hover.update(this.getTooltip());
81
81
  }));
@@ -119,7 +119,7 @@ let CommandCenterCenterViewItem = class CommandCenterCenterViewItem extends Base
119
119
  labelElement.classList.add('search-label');
120
120
  labelElement.innerText = label;
121
121
  reset(container, searchIcon, labelElement);
122
- const hover = this._store.add(that._hoverService.setupUpdatableHover(that._hoverDelegate, container, this.getTooltip()));
122
+ const hover = this._store.add(that._hoverService.setupManagedHover(that._hoverDelegate, container, this.getTooltip()));
123
123
  this._store.add(that._windowTitle.onDidChange(() => {
124
124
  hover.update(this.getTooltip());
125
125
  labelElement.innerText = this._getLabel();
@@ -401,7 +401,7 @@ let BrowserTitlebarPart = class BrowserTitlebarPart extends Part {
401
401
  }
402
402
  else {
403
403
  this.actionToolBar.actionRunner = ( (new ActionRunner()));
404
- this.actionToolBar.context = {};
404
+ this.actionToolBar.context = undefined;
405
405
  this.editorToolbarMenuDisposables.add(this.actionToolBar.actionRunner);
406
406
  }
407
407
  }