@lvce-editor/renderer-process 30.60.2 → 30.60.3
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.
|
@@ -10807,7 +10807,13 @@ const handleFullScreenChange = isFullScreen => {
|
|
|
10807
10807
|
send$1('Layout.handleFullScreenChange', isFullScreen);
|
|
10808
10808
|
};
|
|
10809
10809
|
const handleDocumentFullScreenChange = () => {
|
|
10810
|
-
|
|
10810
|
+
const {
|
|
10811
|
+
fullscreenElement
|
|
10812
|
+
} = document;
|
|
10813
|
+
if (fullscreenElement && fullscreenElement !== document.documentElement) {
|
|
10814
|
+
return;
|
|
10815
|
+
}
|
|
10816
|
+
handleFullScreenChange(Boolean(fullscreenElement));
|
|
10811
10817
|
};
|
|
10812
10818
|
const sendVisibilityChangeHint = () => {
|
|
10813
10819
|
send$1(/* SaveState.handleVisibilityChange */'SaveState.handleVisibilityChange', /* visibilityState */'hidden');
|