Fix touch shooting and typo

This commit is contained in:
schmelczerandras 2020-11-02 11:12:03 +01:00
parent 1c4b7a3483
commit f7420777f0
10 changed files with 59 additions and 60 deletions

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';