Ensure we set the initial volume of tracks correctly

This commit is contained in:
Marks Polakovs 2020-03-30 13:54:43 +02:00
parent 8aa5dce35b
commit a9a0b0801d

View file

@ -451,6 +451,7 @@ export const load = (
throw new DOMException("abort load", "AbortError");
}
wavesurfer.setVolume(getState().mixer.players[player].gain);
wavesurfers[player] = wavesurfer;
delete loadAbortControllers[player];
} catch (e) {