@lvce-editor/renderer-process 21.14.0 → 21.15.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.
|
@@ -9260,7 +9260,8 @@ const move = async (uid, selector, target) => {
|
|
|
9260
9260
|
throw new Error(`Source element not found: ${selector}`);
|
|
9261
9261
|
}
|
|
9262
9262
|
const $Target = await waitForElement(target);
|
|
9263
|
-
|
|
9263
|
+
// @ts-ignore
|
|
9264
|
+
$Target.moveBefore($Source, null);
|
|
9264
9265
|
};
|
|
9265
9266
|
|
|
9266
9267
|
// TODO this code is bad
|