@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
|
|
1606
|
+
tooltip
|
|
1606
1607
|
};
|
|
1607
1608
|
};
|
|
1608
1609
|
|
|
1609
1610
|
const getActualIcon = extensionHostStatusBarItem => {
|
|
1610
1611
|
if (extensionHostStatusBarItem.icon === 'branch') {
|
|
1611
|
-
return '
|
|
1612
|
+
return 'MaskIconSourceControl';
|
|
1612
1613
|
}
|
|
1613
1614
|
return extensionHostStatusBarItem.icon || '';
|
|
1614
1615
|
};
|