saltfish 0.2.31 → 0.2.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -943,11 +943,11 @@ const playerStateMachineConfig = {
|
|
|
943
943
|
on: {
|
|
944
944
|
"INITIALIZE": { target: "idle" }
|
|
945
945
|
},
|
|
946
|
-
entry: ["logStateEntry", "trackPlaylistComplete"
|
|
946
|
+
entry: ["logStateEntry", "trackPlaylistComplete"]
|
|
947
947
|
},
|
|
948
948
|
"closing": {
|
|
949
949
|
on: {},
|
|
950
|
-
entry: ["logStateEntry", "triggerPlaylistDismissed"
|
|
950
|
+
entry: ["logStateEntry", "triggerPlaylistDismissed"]
|
|
951
951
|
}
|
|
952
952
|
}
|
|
953
953
|
};
|
|
@@ -2575,8 +2575,8 @@ class PlaylistOrchestrator {
|
|
|
2575
2575
|
this.stateMachineActionHandler.registerStateMachineActions();
|
|
2576
2576
|
}
|
|
2577
2577
|
}
|
|
2578
|
-
if (store.currentState === "completed") {
|
|
2579
|
-
log(
|
|
2578
|
+
if (store.currentState === "completed" || store.currentState === "closing") {
|
|
2579
|
+
log(`PlaylistOrchestrator: Resetting from ${store.currentState} state to start new playlist`);
|
|
2580
2580
|
store.resetForNewPlaylist();
|
|
2581
2581
|
if (this.stateMachineActionHandler) {
|
|
2582
2582
|
this.stateMachineActionHandler.registerStateMachineActions();
|
|
@@ -3494,7 +3494,7 @@ const _ManagerOrchestrator = class _ManagerOrchestrator {
|
|
|
3494
3494
|
this.managers.cursorManager.setShouldShowCursor(true);
|
|
3495
3495
|
this.managers.cursorManager.animate(currentStep.cursorAnimations[0]);
|
|
3496
3496
|
}
|
|
3497
|
-
} else if (store.currentState === "completed") {
|
|
3497
|
+
} else if (store.currentState === "completed" || store.currentState === "closing") {
|
|
3498
3498
|
this.cleanupPlaylist();
|
|
3499
3499
|
}
|
|
3500
3500
|
if (store.isMinimized !== _ManagerOrchestrator.prevState.isMinimized) {
|