Reset the tracklistitemid on loading new item.
This commit is contained in:
parent
c3f223a7d4
commit
9311593cc6
1 changed files with 1 additions and 0 deletions
|
@ -139,6 +139,7 @@ const mixerState = createSlice({
|
|||
state.players[action.payload.player].loading = true;
|
||||
state.players[action.payload.player].timeCurrent = 0;
|
||||
state.players[action.payload.player].timeLength = 0;
|
||||
state.players[action.payload.player].tracklistItemID = -1;
|
||||
},
|
||||
itemLoadComplete(state, action: PayloadAction<{ player: number }>) {
|
||||
state.players[action.payload.player].loading = false;
|
||||
|
|
Loading…
Reference in a new issue