@lvce-editor/panel-worker 2.10.3 → 2.10.4
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.
- package/dist/panelWorkerMain.js +2 -1
- package/package.json +1 -1
package/dist/panelWorkerMain.js
CHANGED
|
@@ -1650,7 +1650,8 @@ const handleMessagePort = async (port, viewletCommandMap) => {
|
|
|
1650
1650
|
const executeViewletCommand = async (uid, command, ...args) => {
|
|
1651
1651
|
const layoutCommand = layoutCommands[command];
|
|
1652
1652
|
if (layoutCommand) {
|
|
1653
|
-
|
|
1653
|
+
// The layout command can resize this worker before it completes.
|
|
1654
|
+
void invoke$1(layoutCommand);
|
|
1654
1655
|
return;
|
|
1655
1656
|
}
|
|
1656
1657
|
const fn = viewletCommandMap[`Panel.${command}`];
|