Skip to content

Commit

Permalink
Merge pull request #54 from nini22P/dev
Browse files Browse the repository at this point in the history
fix: menu not click
  • Loading branch information
nini22P authored Nov 20, 2023
2 parents 678ad25 + b2aaf56 commit d6f7b6c
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 8 deletions.
6 changes: 5 additions & 1 deletion src/pages/NavBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,11 @@ const NavBar = ({ accounts }: { accounts: AccountInfo[] }) => {
<Box sx={{ display: 'flex', justifyContent: 'space-between', alignItems: 'center' }} >
{
(accounts.length !== 0) &&
<IconButton onClick={() => updateMobileSideBarOpen(!mobileSideBarOpen)} sx={{ display: { xs: '', sm: 'none' } }}>
<IconButton
onClick={() => updateMobileSideBarOpen(!mobileSideBarOpen)}
sx={{ display: { xs: '', sm: 'none' } }}
className='app-region-no-drag'
>
<MenuOutlinedIcon />
</IconButton>
}
Expand Down
10 changes: 5 additions & 5 deletions src/pages/Player/Audio.tsx → src/pages/Player/Audio/Audio.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ import OpenInFullIcon from '@mui/icons-material/OpenInFull'
import CloseFullscreenIcon from '@mui/icons-material/CloseFullscreen'
import PanoramaOutlinedIcon from '@mui/icons-material/PanoramaOutlined'
// import PictureInPictureIcon from '@mui/icons-material/PictureInPicture'
import usePlayQueueStore from '../../store/usePlayQueueStore'
import usePlayerStore from '../../store/usePlayerStore'
import useUiStore from '../../store/useUiStore'
import { timeShift } from '../../utils'
import { MetaData } from '../../types/MetaData'
import usePlayQueueStore from '../../../store/usePlayQueueStore'
import usePlayerStore from '../../../store/usePlayerStore'
import useUiStore from '../../../store/useUiStore'
import { timeShift } from '../../../utils'
import { MetaData } from '../../../types/MetaData'

const Audio = (
{
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Player/Player.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { useControlHide } from '../../hooks/useControlHide'
import { useMediaSession } from '../../hooks/useMediaSession'
import useFilesData from '../../hooks/useFilesData'
import useTheme from '../../hooks/useTheme'
import Audio from './Audio'
import Audio from './Audio/Audio'
import PlayerControl from './PlayerControl'
import PlayQueue from './PlayQueue'
import { filePathConvert, shufflePlayQueue } from '../../utils'
Expand Down
7 changes: 6 additions & 1 deletion src/pages/SideBar/MobileSideBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,12 @@ const MobileSideBar = () => {
}}
sx={{
display: { xs: 'block', sm: 'none' },
'& .MuiDrawer-paper': { boxSizing: 'border-box', minWidth: 260, maxWidth: 280 },
'& .MuiDrawer-paper': {
boxSizing: 'border-box',
minWidth: 260,
maxWidth: 280,
paddingTop: 'env(titlebar-area-height, 0)',
},
}}
>
<SideBar />
Expand Down

0 comments on commit d6f7b6c

Please sign in to comment.