Fix touch shooting and typo

This commit is contained in:
schmelczerandras 2020-11-02 11:12:03 +01:00
commit f7420777f0

View file

@ -10,7 +10,7 @@ export const handleFullScreen = (
return;
}
let isInFullScreen = (): boolean => document.fullscreenElement !== null;
const isInFullScreen = (): boolean => document.fullscreenElement !== null;
const showButtons = () => {
minimizeButton.style.visibility = isInFullScreen() ? 'visible' : 'hidden';