@lvce-editor/status-bar-worker 3.4.1 → 3.5.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.
@@ -1597,18 +1597,19 @@ const toStatusBarItem = uiStatusBarItem => {
1597
1597
  });
1598
1598
  }
1599
1599
  const ariaLabel = uiStatusBarItem.text || uiStatusBarItem.tooltip || uiStatusBarItem.name;
1600
+ const tooltip = uiStatusBarItem.tooltip || ariaLabel;
1600
1601
  return {
1601
1602
  ariaLabel,
1602
1603
  command: uiStatusBarItem.command || undefined,
1603
1604
  elements,
1604
1605
  name: uiStatusBarItem.name,
1605
- tooltip: uiStatusBarItem.tooltip
1606
+ tooltip
1606
1607
  };
1607
1608
  };
1608
1609
 
1609
1610
  const getActualIcon = extensionHostStatusBarItem => {
1610
1611
  if (extensionHostStatusBarItem.icon === 'branch') {
1611
- return 'Branch';
1612
+ return 'MaskIconSourceControl';
1612
1613
  }
1613
1614
  return extensionHostStatusBarItem.icon || '';
1614
1615
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/status-bar-worker",
3
- "version": "3.4.1",
3
+ "version": "3.5.0",
4
4
  "description": "Status Bar Worker",
5
5
  "repository": {
6
6
  "type": "git",