@lvce-editor/main-area-worker 9.35.2 → 9.36.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.
@@ -2195,8 +2195,9 @@ const createViewletForTab = (state, tabId, viewletModuleId, bounds) => {
2195
2195
  return state;
2196
2196
  }
2197
2197
 
2198
- // If tab already has an editorUid or is loading/loaded, don't recreate
2199
- if (tab.editorUid !== -1 || tab.loadingState === 'loading' || tab.loadingState === 'loaded') {
2198
+ // The editor instance is identified by editorUid. Restored tabs can be marked
2199
+ // as loading or loaded before their renderer instance has been recreated.
2200
+ if (tab.editorUid !== -1) {
2200
2201
  return state;
2201
2202
  }
2202
2203
  const editorUid = create$2();
@@ -6091,25 +6092,25 @@ const getMenuEntries$2 = (state, groupId) => {
6091
6092
  label: openFile()
6092
6093
  }, menuEntrySeparator, {
6093
6094
  args: groupArgs,
6094
- command: 'MainArea.splitUp',
6095
+ command: 'Main.splitUp',
6095
6096
  flags: None$1,
6096
6097
  id: 'splitUp',
6097
6098
  label: splitUp$1()
6098
6099
  }, {
6099
6100
  args: groupArgs,
6100
- command: 'MainArea.splitDown',
6101
+ command: 'Main.splitDown',
6101
6102
  flags: None$1,
6102
6103
  id: 'splitDown',
6103
6104
  label: splitDown$1()
6104
6105
  }, {
6105
6106
  args: groupArgs,
6106
- command: 'MainArea.splitLeft',
6107
+ command: 'Main.splitLeft',
6107
6108
  flags: None$1,
6108
6109
  id: 'splitLeft',
6109
6110
  label: splitLeft$1()
6110
6111
  }, {
6111
6112
  args: groupArgs,
6112
- command: 'MainArea.splitRight',
6113
+ command: 'Main.splitRight',
6113
6114
  flags: None$1,
6114
6115
  id: 'splitRight',
6115
6116
  label: splitRight$1()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/main-area-worker",
3
- "version": "9.35.2",
3
+ "version": "9.36.0",
4
4
  "description": "Main Area Worker",
5
5
  "repository": {
6
6
  "type": "git",