@lvce-editor/main-area-worker 9.73.0 → 9.73.2
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.
|
@@ -4422,6 +4422,7 @@ const ProcessExplorerScheme = 'process-explorer://';
|
|
|
4422
4422
|
const RunningExtensionsScheme = 'running-extensions://';
|
|
4423
4423
|
const SearchEditorScheme = 'search-editor://';
|
|
4424
4424
|
const SettingsScheme = 'settings://';
|
|
4425
|
+
const WorkersScheme = 'workers:///';
|
|
4425
4426
|
const tabIconNode = {
|
|
4426
4427
|
childCount: 1,
|
|
4427
4428
|
className: TabIcon,
|
|
@@ -4459,6 +4460,9 @@ const renderTabIcon = tab => {
|
|
|
4459
4460
|
if (tab.uri?.startsWith(SettingsScheme)) {
|
|
4460
4461
|
return renderMaskIcon(MaskIconSettingsGear);
|
|
4461
4462
|
}
|
|
4463
|
+
if (tab.uri?.startsWith(WorkersScheme)) {
|
|
4464
|
+
return renderMaskIcon(MaskIconDebugAlt2);
|
|
4465
|
+
}
|
|
4462
4466
|
if (!tab.icon) {
|
|
4463
4467
|
return [];
|
|
4464
4468
|
}
|
|
@@ -5085,6 +5089,9 @@ const getFileIcon = uri => {
|
|
|
5085
5089
|
if (uri.startsWith('process-explorer://')) {
|
|
5086
5090
|
return `MaskIconDebugAlt2`;
|
|
5087
5091
|
}
|
|
5092
|
+
if (uri.startsWith('workers:///')) {
|
|
5093
|
+
return `MaskIconDebugAlt2`;
|
|
5094
|
+
}
|
|
5088
5095
|
if (uri.startsWith('running-extensions://')) {
|
|
5089
5096
|
return `MaskIconExtensions`;
|
|
5090
5097
|
}
|