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