mirror of
https://github.com/unanmed/HumanBreak.git
synced 2025-01-19 12:49:25 +08:00
fix: 渐变音量错误
This commit is contained in:
parent
f808a5e00c
commit
d580405037
@ -236,7 +236,7 @@ export class BgmController
|
||||
if (tran!.endVolume === 0) {
|
||||
bgm.pause();
|
||||
} else {
|
||||
bgm.volume = ani.value.volume * this.volume;
|
||||
bgm.volume = tran!.endVolume * this.volume;
|
||||
}
|
||||
this.transitionData.delete(id);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user