Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
shiyiya committed Nov 4, 2024
1 parent b9284d5 commit 8ddee83
Show file tree
Hide file tree
Showing 5 changed files with 671 additions and 649 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"@babel/core": "^7.26.0",
"@babel/preset-env": "^7.26.0",
"@babel/preset-react": "^7.25.9",
"@types/node": "^20.17.5",
"@types/node": "^22.8.7",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"babel-loader": "^9.2.1",
Expand Down Expand Up @@ -49,17 +49,17 @@
"postcss": "^8.4.47",
"postcss-flexbugs-fixes": "^5.0.2",
"postcss-loader": "^8.1.1",
"postcss-preset-env": "^9.6.0",
"postcss-preset-env": "^10.0.9",
"resolve-url-loader": "^5.0.0",
"sass": "^1.80.6",
"sass-loader": "^14.2.1",
"sass-loader": "^16.0.3",
"style-loader": "^4.0.0",
"terser-webpack-plugin": "^5.3.10",
"webpack": "^5.96.1",
"webpack-bundle-analyzer": "^4.10.2",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^5.1.0",
"webpack-merge": "^5.10.0"
"webpack-merge": "^6.0.1"
},
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions packages/index/src/pages/player/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -124,11 +124,11 @@ export default function PlayerPage({ id }: any) {
player.current?.context.ui.menu.register({
name: 'Toggle Ep-Bar',
position: 'top',
icon: `<svg style="transform: scale(1.2);opacity: 0.4;" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M288 416v320h448V416H288z m0-64h448V288H288v64zM256 224h512a32 32 0 0 1 32 32v512a32 32 0 0 1-32 32H256a32 32 0 0 1-32-32V256a32 32 0 0 1 32-32z m384 224a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0v-192a32 32 0 0 1 32-32z"></path></svg>`,
icon: `<svg style="transform: scale(1.4);;" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M288 416v320h448V416H288z m0-64h448V288H288v64zM256 224h512a32 32 0 0 1 32 32v512a32 32 0 0 1-32 32H256a32 32 0 0 1-32-32V256a32 32 0 0 1 32-32z m384 224a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0v-192a32 32 0 0 1 32-32z"></path></svg>`,
onClick(svg: SVGAElement) {
setDisplayEpBar((it) => {
if (it) {
svg.style.opacity = '0.4'
svg.style.opacity = '0.6'
} else {
svg.style.opacity = '1'
}
Expand Down
Loading

0 comments on commit 8ddee83

Please sign in to comment.