@lvce-editor/title-bar-worker 4.18.0 → 4.18.1

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.
@@ -4968,14 +4968,8 @@ const handleFocus = async state => {
4968
4968
  };
4969
4969
 
4970
4970
  const handleFocusOut = async state => {
4971
- const closedState = closeMenu(state, /* keepFocus */false);
4972
- if (!closedState.focused) {
4973
- return closedState;
4974
- }
4975
- return {
4976
- ...closedState,
4977
- focused: false
4978
- };
4971
+ // The renderer process checks relatedTarget and closes the menu only when focus leaves the complete menu tree.
4972
+ return state;
4979
4973
  };
4980
4974
 
4981
4975
  const openMenu = async (state, focus) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/title-bar-worker",
3
- "version": "4.18.0",
3
+ "version": "4.18.1",
4
4
  "description": "Title Bar Worker",
5
5
  "repository": {
6
6
  "type": "git",