Adds screen audio/narration voices to the screens (Can be turned off in settings)
Some checks are pending
build-docker / Build Image (push) Waiting to run
Some checks are pending
build-docker / Build Image (push) Waiting to run
This commit is contained in:
parent
e4a14fdedd
commit
0afd3f14a0
10 changed files with 131 additions and 0 deletions
|
|
@ -385,10 +385,18 @@ const handleNavButton = (button) => {
|
|||
break;
|
||||
case 'next':
|
||||
setPlaying(false);
|
||||
// Stop screen audio immediately when navigating
|
||||
import('./media.mjs').then((media) => {
|
||||
media.stopScreenAudio();
|
||||
});
|
||||
navTo(msg.command.nextFrame);
|
||||
break;
|
||||
case 'previous':
|
||||
setPlaying(false);
|
||||
// Stop screen audio immediately when navigating
|
||||
import('./media.mjs').then((media) => {
|
||||
media.stopScreenAudio();
|
||||
});
|
||||
navTo(msg.command.previousFrame);
|
||||
break;
|
||||
case 'menu':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue