@lvce-editor/renderer-process 30.64.13 → 30.64.14

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.
@@ -5231,6 +5231,7 @@ forwardViewletCommand('handleListBlur');
5231
5231
  forwardViewletCommand('handleListFocus');
5232
5232
  const handleMenuClick$1 = forwardViewletCommand('handleMenuClick');
5233
5233
  const handleMenuMouseOver$1 = forwardViewletCommand('handleMenuMouseOver');
5234
+ const handleMenuMouseLeave$1 = forwardViewletCommand('handleMenuMouseLeave');
5234
5235
  const handleMouseDown$3 = forwardViewletCommand('handleMouseDown');
5235
5236
  forwardViewletCommand('handleMouseMove');
5236
5237
  const handleMouseOut$1 = forwardViewletCommand('handleMouseOut');
@@ -8642,6 +8643,16 @@ const handleMenuMouseOver = event => {
8642
8643
  const uid = fromEvent(event);
8643
8644
  handleMenuMouseOver$1(uid, level, index);
8644
8645
  };
8646
+ const handleMenuMouseLeave = event => {
8647
+ const {
8648
+ relatedTarget
8649
+ } = event;
8650
+ if (relatedTarget?.closest?.('.Menu')) {
8651
+ return;
8652
+ }
8653
+ const uid = fromEvent(event);
8654
+ handleMenuMouseLeave$1(uid);
8655
+ };
8645
8656
  const handleMenuClick = event => {
8646
8657
  const {
8647
8658
  index,
@@ -8661,6 +8672,7 @@ const ViewletTitleBarMenuBarEvents = {
8661
8672
  handleFocusIn: handleFocusIn$1,
8662
8673
  handleFocusOut,
8663
8674
  handleMenuClick,
8675
+ handleMenuMouseLeave,
8664
8676
  handleMenuMouseOver,
8665
8677
  handlePointerOut,
8666
8678
  handlePointerOver
@@ -8856,6 +8868,7 @@ const addMenu = ($$Menus, change, uid) => {
8856
8868
  const $Menu = create$Menu();
8857
8869
  set$a($Menu, uid);
8858
8870
  $Menu.onmousemove = handleMenuMouseOver;
8871
+ $Menu.onmouseleave = handleMenuMouseLeave;
8859
8872
  $Menu.onclick = handleMenuClick;
8860
8873
  const {
8861
8874
  focusedIndex,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/renderer-process",
3
- "version": "30.64.13",
3
+ "version": "30.64.14",
4
4
  "keywords": [
5
5
  "lvce-editor",
6
6
  "renderer-process"