Skip to content

Commit

Permalink
fix: #steam有概率加载不出头像
Browse files Browse the repository at this point in the history
  • Loading branch information
XasYer committed Dec 16, 2024
1 parent 50ac5c4 commit d9b7cb2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/Render.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ const Render = {
const input = `${tempPath}/output.mp4`

await recorder.start(input)
const sleep = Math.abs(Config.gif.videoLimit || 5)
const sleep = Math.abs(Config.gif.videoLimit || 3)
await new Promise(resolve => setTimeout(resolve, sleep * 1000))

await recorder.stop()
Expand Down
4 changes: 3 additions & 1 deletion resources/user/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@
</div>
<div class="game-bar">
<div class="game-inner">
<div class="face" style="background-image:url('{{uid.avatar}}')"></div>
<div class="face">
<img src="{{uid.avatar}}" width="56" height="56">
</div>
<div class="info">
<div class="uid-info">
<div class="uid shadow">{{uid.steamId}}<span>{{uid.steamId}}</span></div>
Expand Down

0 comments on commit d9b7cb2

Please sign in to comment.