@lvce-editor/main-area-worker 9.72.1 → 9.72.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.
|
@@ -1560,7 +1560,7 @@ const invoke$2 = async (command, ...args) => {
|
|
|
1560
1560
|
return state$2.rpc.invoke(command, ...args);
|
|
1561
1561
|
};
|
|
1562
1562
|
|
|
1563
|
-
const cacheName = '
|
|
1563
|
+
const cacheName = 'lvce-main-area-tabs';
|
|
1564
1564
|
const cacheDuration = 90 * 24 * 60 * 60 * 1000;
|
|
1565
1565
|
const maxClosedTabs = 20;
|
|
1566
1566
|
const pendingOperations = new Map();
|
|
@@ -7129,7 +7129,7 @@ const newFile = async state => {
|
|
|
7129
7129
|
newState: latestState
|
|
7130
7130
|
} = get$1(uid);
|
|
7131
7131
|
const readyState = handleViewletReady(latestState, actualEditorUid, title);
|
|
7132
|
-
return readyState;
|
|
7132
|
+
return focus(readyState);
|
|
7133
7133
|
};
|
|
7134
7134
|
|
|
7135
7135
|
const handleHeaderDoubleClick = async (state, className, groupIndexRaw) => {
|