diff --git a/src/Components/StartMenu.jsx b/src/Components/StartMenu.jsx index 0ea266a..2237b16 100644 --- a/src/Components/StartMenu.jsx +++ b/src/Components/StartMenu.jsx @@ -59,17 +59,23 @@ export default function StartMenu(props) { if (!ifBlurByStartMenuPress) { if (isStartButtonActive) { setStartMenu(prev => !prev) - + setSettingsMenu(false) + setQuitMenu(false) } } //close the power tab if it was opened setQuitMenu(false) } + function handleMouseLeave() { + setQuitMenu(false); + setSettingsMenu(false); + } + return (