We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8d3c0c1 + 49a88f8 commit c032b34Copy full SHA for c032b34
1 file changed
packages/webgal/src/hooks/useHotkey.tsx
@@ -393,6 +393,6 @@ function useToggleFullScreen() {
393
}, []);
394
useEffect(() => {
395
dispatch(setOptionData({ key: 'fullScreen', value: isFullScreen ? 0 : 1 }));
396
- setStorage();
+ if (WebGAL.gameKey) setStorage();
397
}, [isFullScreen]);
398
}
0 commit comments