@lvce-editor/renderer-process 10.39.0 → 10.41.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.
@@ -10334,6 +10334,18 @@ const handleHeaderClick$1 = event => {
10334
10334
  }
10335
10335
  // TODO better way to determine which button was clicked
10336
10336
  };
10337
+ const handleHeaderClick2 = event => {
10338
+ const {
10339
+ target
10340
+ } = event;
10341
+ const {
10342
+ name
10343
+ } = target;
10344
+ if (!name) {
10345
+ return;
10346
+ }
10347
+ return ['handleHeaderClick', name];
10348
+ };
10337
10349
  const handleSharedInput = event => {
10338
10350
  const {
10339
10351
  target
@@ -10412,6 +10424,7 @@ const ViewletSearchEvents = {
10412
10424
  handleExcludeInput,
10413
10425
  handleFocus: handleFocus$2,
10414
10426
  handleHeaderClick: handleHeaderClick$1,
10427
+ handleHeaderClick2,
10415
10428
  handleHeaderFocusIn,
10416
10429
  handleIncludeInput,
10417
10430
  handleInput: handleInput$3,
@@ -11801,6 +11814,9 @@ const setPort = (state, portId, origin) => {
11801
11814
  };
11802
11815
  const setPosition = (state, id, x, y, width, height) => {
11803
11816
  const $Iframe = get(id);
11817
+ if (!$Iframe) {
11818
+ return;
11819
+ }
11804
11820
  setBounds$a($Iframe, x, y, width, height);
11805
11821
  };
11806
11822
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/renderer-process",
3
- "version": "10.39.0",
3
+ "version": "10.41.0",
4
4
  "description": "",
5
5
  "main": "dist/rendererProcessMain.js",
6
6
  "type": "module",