@lvce-editor/renderer-process 30.32.1 → 30.32.2
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.
|
@@ -8244,15 +8244,11 @@ const isInsideTitleBarMenu = $Element => {
|
|
|
8244
8244
|
};
|
|
8245
8245
|
const handleFocusOut = event => {
|
|
8246
8246
|
const {
|
|
8247
|
-
relatedTarget
|
|
8248
|
-
target
|
|
8247
|
+
relatedTarget
|
|
8249
8248
|
} = event;
|
|
8250
8249
|
if (relatedTarget && isInsideTitleBarMenu(relatedTarget)) {
|
|
8251
8250
|
return;
|
|
8252
8251
|
}
|
|
8253
|
-
if (target && isInsideTitleBarMenu(target)) {
|
|
8254
|
-
return;
|
|
8255
|
-
}
|
|
8256
8252
|
const uid = fromEvent(event);
|
|
8257
8253
|
closeMenu$1(uid);
|
|
8258
8254
|
};
|