chore: 背景音乐音量调整、README.md徽章

This commit is contained in:
streakingman
2022-09-19 20:15:29 +08:00
parent 3c8fc29dcf
commit f9811bae3b
2 changed files with 18 additions and 3 deletions
+1 -1
View File
@@ -165,7 +165,7 @@ const App: FC = () => {
useEffect(() => {
if (!bgmRef.current) return;
if (bgmOn) {
bgmRef.current.volume = 0.15;
bgmRef.current.volume = 0.5;
bgmRef.current.play();
} else {
bgmRef.current?.pause();