Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Specy committed Apr 24, 2024
1 parent ef9c40c commit 1dbdf67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/pages/SheetVisualizer/Menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export function SheetVisualiserMenu({currentSong, onSongLoaded}: SheetVisualiser
setCurrent={setSelectedPage}
>
<MenuSidebar style={{justifyContent: 'flex-end'}}>
{(browserHistoryStore.hasNavigated && selectedPage === "") &&
{(browserHistoryStore.hasNavigated && !open) &&
<MenuButton
ariaLabel='Go back'
style={{marginBottom: 'auto'}}
Expand All @@ -45,7 +45,7 @@ export function SheetVisualiserMenu({currentSong, onSongLoaded}: SheetVisualiser
<FaArrowLeft className='icon'/>
</MenuButton>
}
{selectedPage !== "" &&
{open &&
<MenuButton
ariaLabel='Close menu'
style={{marginBottom: 'auto'}}
Expand Down

0 comments on commit 1dbdf67

Please sign in to comment.