@lvce-editor/main-area-worker 9.67.2 → 9.67.3
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.
|
@@ -3841,6 +3841,7 @@ const MaskIconClose = 'MaskIcon MaskIconClose';
|
|
|
3841
3841
|
const MaskIconExtensions = 'MaskIcon MaskIconExtensions';
|
|
3842
3842
|
const MaskIconRecordKey = 'MaskIcon MaskIconRecordKey';
|
|
3843
3843
|
const MaskIconSearch = 'MaskIcon MaskIconSearch';
|
|
3844
|
+
const MaskIconSettingsGear = 'MaskIcon MaskIconSettingsGear';
|
|
3844
3845
|
const TextEditor = 'TextEditor';
|
|
3845
3846
|
const TextEditorLoading = 'TextEditor TextEditor--loading';
|
|
3846
3847
|
const EditorContentLoading = 'EditorContent EditorContent--loading';
|
|
@@ -4320,6 +4321,7 @@ const ExtensionDetailScheme = 'extension-detail://';
|
|
|
4320
4321
|
const KeyBindingsUri = 'app://keybindings';
|
|
4321
4322
|
const RunningExtensionsScheme = 'running-extensions://';
|
|
4322
4323
|
const SearchEditorScheme = 'search-editor://';
|
|
4324
|
+
const SettingsScheme = 'settings://';
|
|
4323
4325
|
const tabIconNode = {
|
|
4324
4326
|
childCount: 1,
|
|
4325
4327
|
className: TabIcon,
|
|
@@ -4351,6 +4353,9 @@ const renderTabIcon = tab => {
|
|
|
4351
4353
|
if (tab.uri?.startsWith(SearchEditorScheme)) {
|
|
4352
4354
|
return renderMaskIcon(MaskIconSearch);
|
|
4353
4355
|
}
|
|
4356
|
+
if (tab.uri?.startsWith(SettingsScheme)) {
|
|
4357
|
+
return renderMaskIcon(MaskIconSettingsGear);
|
|
4358
|
+
}
|
|
4354
4359
|
if (!tab.icon) {
|
|
4355
4360
|
return [];
|
|
4356
4361
|
}
|
|
@@ -4981,6 +4986,9 @@ const getFileIcon = uri => {
|
|
|
4981
4986
|
if (uri.startsWith('search-editor://')) {
|
|
4982
4987
|
return `MaskIconSearch`;
|
|
4983
4988
|
}
|
|
4989
|
+
if (uri.startsWith('settings://')) {
|
|
4990
|
+
return `MaskIconSettingsGear`;
|
|
4991
|
+
}
|
|
4984
4992
|
return '';
|
|
4985
4993
|
};
|
|
4986
4994
|
|