@lvce-editor/renderer-process 10.21.0 → 10.22.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.
@@ -2550,11 +2550,12 @@ const ViewletEditorSourceActionsEvents = {
2550
2550
  handleFocusIn: handleFocusIn$2
2551
2551
  };
2552
2552
 
2553
- const setBounds$4 = (state, x, y) => {
2553
+ const setBounds$4 = (state, x, y, width, height) => {
2554
2554
  const {
2555
2555
  $Viewlet
2556
2556
  } = state;
2557
- setXAndYTransform($Viewlet, x, -y);
2557
+ setBounds$9($Viewlet, x, y, width, height);
2558
+ applyUidWorkaround($Viewlet);
2558
2559
  };
2559
2560
  const appendWidget$1 = state => {
2560
2561
  const {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/renderer-process",
3
- "version": "10.21.0",
3
+ "version": "10.22.0",
4
4
  "description": "",
5
5
  "main": "dist/rendererProcessMain.js",
6
6
  "type": "module",