Fix WebStudio not marking items played on play.
This commit is contained in:
parent
209880a780
commit
e96815747f
1 changed files with 3 additions and 1 deletions
|
@ -626,7 +626,9 @@ export const load = (
|
|||
const state = getState().mixer.players[player];
|
||||
// Don't set played on Preview Channel
|
||||
if (state.loadedItem != null && player !== PLAYER_ID_PREVIEW) {
|
||||
setItemPlayedAt(itemId(state.loadedItem), new Date().valueOf());
|
||||
dispatch(
|
||||
setItemPlayedAt(itemId(state.loadedItem), new Date().valueOf())
|
||||
);
|
||||
}
|
||||
});
|
||||
playerInstance.on("pause", () => {
|
||||
|
|
Loading…
Reference in a new issue