@dreamboard-games/sdk 0.5.0-alpha.21 → 0.5.0-alpha.22
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.
|
@@ -1344,7 +1344,11 @@ function moveComponentToZoneInPlace(options) {
|
|
|
1344
1344
|
});
|
|
1345
1345
|
removeComponentFromCurrentLocation(table, componentId, definitions);
|
|
1346
1346
|
destination.ids.splice(index, 0, componentId);
|
|
1347
|
-
|
|
1347
|
+
if (same) {
|
|
1348
|
+
table.componentLocations[componentId] = { ...source, playedBy };
|
|
1349
|
+
} else {
|
|
1350
|
+
place(table, definitions, componentId, destination.ref, playedBy);
|
|
1351
|
+
}
|
|
1348
1352
|
}
|
|
1349
1353
|
function moveComponentToPositionInPlace(options) {
|
|
1350
1354
|
const { table, definitions, componentId, at, playedBy } = options;
|
|
@@ -7196,4 +7200,4 @@ export {
|
|
|
7196
7200
|
createProjectionBuilder,
|
|
7197
7201
|
createReducerBundle
|
|
7198
7202
|
};
|
|
7199
|
-
//# sourceMappingURL=chunk-
|
|
7203
|
+
//# sourceMappingURL=chunk-UUJSLFIJ.js.map
|