Stop preview channel from auto advancing.
This commit is contained in:
parent
2dff76a146
commit
7401cde4a6
1 changed files with 5 additions and 0 deletions
|
@ -383,6 +383,11 @@ export function Player({ id }: { id: number }) {
|
|||
if (id < PLAYER_COUNT) {
|
||||
return ("player-" + id) as LevelsSource;
|
||||
}
|
||||
// We don't want the Preview channel doing anything silly, overwrite default player settings.
|
||||
if (isPreviewChannel) {
|
||||
dispatch(MixerState.setAutoAdvance({ player: id, enabled: false }));
|
||||
}
|
||||
|
||||
throw new Error("Unknown Player VUMeter source: " + id);
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue