Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.

Commit

Permalink
Fix bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
ShirasawaSama committed Apr 12, 2020
1 parent 69d4107 commit e6fc45d
Show file tree
Hide file tree
Showing 5 changed files with 48 additions and 46 deletions.
76 changes: 38 additions & 38 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,17 +61,17 @@
"@types/node": "^13.11.1",
"@types/react": "^16.9.34",
"@types/react-dom": "^16.9.6",
"@types/react-router-dom": "^5.1.3",
"@types/react-router-dom": "^5.1.4",
"@types/semver": "^7.1.0",
"@types/url-join": "^4.0.0",
"@types/yauzl": "^2.9.1",
"@types/yazl": "^2.4.2",
"@typescript-eslint/eslint-plugin": "^2.27.0",
"@typescript-eslint/parser": "^2.27.0",
"@xmcl/core": "^2.1.2",
"@xmcl/installer": "^2.6.6",
"@xmcl/core": "^2.1.3",
"@xmcl/installer": "^2.6.7",
"@xmcl/nbt": "^2.0.3",
"@xmcl/resourcepack": "^1.0.11",
"@xmcl/resourcepack": "^1.0.12",
"@xmcl/task": "^2.1.5",
"@xmcl/text-component": "^2.1.1",
"@xmcl/unzip": "^1.2.0",
Expand Down
6 changes: 4 additions & 2 deletions packages/web-api/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,7 @@ export const ensureRunning = time => isRunning().then(r => r ? undefined : new P
const f = () => void isRunning().then(r => r ? (clearTimeout(timer), resolve()) : f())
f()
}))
export const queryMinecraftServer = window.queryMinecraftServer
export const getAccount = window.getAccount

const _global = typeof window === 'object' ? window : {}
export const queryMinecraftServer = _global.queryMinecraftServer
export const getAccount = _global.getAccount
2 changes: 1 addition & 1 deletion src/components/show-more.less
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
transition: 1s;
animation: beat 1s infinite;
will-change: top;
transform: rotateZ(360deg);
transform: translateZ(0);
}

.content { overflow: hidden }
Expand Down
2 changes: 1 addition & 1 deletion src/routes/manager/ResourcePacks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ const ResourcePackList: React.FC = () => {
}}
>
{it[1] && <img src={it[1]} alt={it[0]} />}
{it[2] ? <div>{it[0]}<div>{it[2]}</div></div> : it[0]}
{it[2] ? <div>{it[0]}<div className='time'>{it[2]}</div></div> : it[0]}
<div className='buttons'>
{!ps.extraJson.copyMode &&
<button
Expand Down

0 comments on commit e6fc45d

Please sign in to comment.