@lvce-editor/status-bar-worker 3.31.0 → 3.31.1
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.
|
@@ -2382,9 +2382,12 @@ const handleExtensionManagementChange = async () => {
|
|
|
2382
2382
|
if (newState === newerState || oldState === newerState) {
|
|
2383
2383
|
continue;
|
|
2384
2384
|
}
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
|
|
2385
|
+
// Loading and other updates can finish while the provider query is pending.
|
|
2386
|
+
// Only replace the extension items; retain the current lifecycle and render baseline.
|
|
2387
|
+
const current = get$5(uid);
|
|
2388
|
+
set$6(uid, current.oldState, {
|
|
2389
|
+
...current.newState,
|
|
2390
|
+
statusBarItemsLeft: newerState.statusBarItemsLeft
|
|
2388
2391
|
});
|
|
2389
2392
|
await renderOutOfBand(uid);
|
|
2390
2393
|
}
|