@lvce-editor/main-area-worker 5.6.0 → 5.8.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.
@@ -2841,6 +2841,7 @@ const renderTabBar = (group, groupIndex) => {
2841
2841
  return [{
2842
2842
  childCount: group.tabs.length,
2843
2843
  className: 'MainTabs',
2844
+ role: 'tablist',
2844
2845
  type: Div
2845
2846
  }, ...group.tabs.flatMap((tab, tabIndex) => renderTab(tab, tab.id === group.activeTabId, tabIndex, groupIndex))];
2846
2847
  };
@@ -2967,7 +2968,9 @@ const save = async state => {
2967
2968
  return state;
2968
2969
  }
2969
2970
  await invoke('Editor.save', tab.editorUid);
2970
- return state;
2971
+ return updateTab(state, tab.id, {
2972
+ isDirty: false
2973
+ });
2971
2974
  };
2972
2975
 
2973
2976
  const saveState = state => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/main-area-worker",
3
- "version": "5.6.0",
3
+ "version": "5.8.0",
4
4
  "description": "Main Area Worker",
5
5
  "repository": {
6
6
  "type": "git",