Skip to content

Commit 555f915

Browse files
committed
Fix volume getting reset on fade in
1 parent 8e2e75b commit 555f915

File tree

6 files changed

+23
-50
lines changed

6 files changed

+23
-50
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 27 deletions
This file was deleted.

dist/engine/core/monogatari.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/engine/core/monogatari.js.map

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/monogatari.module.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/monogatari.module.js.map

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/actions/Play.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ export class Play extends Action {
351351
const match = fadeTime.match(/\d*(\.\d*)?/);
352352
const duration = match ? parseFloat(match[0]) : 0;
353353
// Don't await fadeIn - let it run in background while playback continues
354-
this.player.fadeIn(duration);
354+
this.player.fadeIn(duration, this.player.volume);
355355
}
356356

357357
return;

0 commit comments

Comments
 (0)