saltfish 0.3.34 → 0.3.35
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.
|
@@ -2843,7 +2843,7 @@ class PlaylistOrchestrator {
|
|
|
2843
2843
|
this.managers.cursorManager.setColor(updatedStore.manifest.cursorColor);
|
|
2844
2844
|
}
|
|
2845
2845
|
const isTriggeredAutomatically = finalOptions._triggeredByTriggerManager === true;
|
|
2846
|
-
if (updatedStore.manifest.idleMode
|
|
2846
|
+
if (updatedStore.manifest.idleMode) {
|
|
2847
2847
|
const isFirstStep = updatedStore.currentStepId === ((_e = updatedStore.manifest.steps[0]) == null ? void 0 : _e.id);
|
|
2848
2848
|
if (updatedStore.manifest.compactFirstStep && isFirstStep) {
|
|
2849
2849
|
const playerElement = this.managers.uiManager.getPlayerElement();
|
|
@@ -3464,14 +3464,14 @@ class StateMachineActionHandler {
|
|
|
3464
3464
|
this.managers.uiManager.disablePlayButtonProminent();
|
|
3465
3465
|
}
|
|
3466
3466
|
handleEnterCompactMode() {
|
|
3467
|
-
var _a, _b, _c
|
|
3467
|
+
var _a, _b, _c;
|
|
3468
3468
|
const store = getSaltfishStore();
|
|
3469
3469
|
const isFirstStep = store.manifest && store.currentStepId === ((_a = store.manifest.steps[0]) == null ? void 0 : _a.id);
|
|
3470
|
-
const shouldBeCompact = isFirstStep && ((_b = store.manifest) == null ? void 0 : _b.compactFirstStep)
|
|
3470
|
+
const shouldBeCompact = isFirstStep && ((_b = store.manifest) == null ? void 0 : _b.compactFirstStep);
|
|
3471
3471
|
if (shouldBeCompact) {
|
|
3472
3472
|
const playerElement = this.managers.uiManager.getPlayerElement();
|
|
3473
3473
|
playerElement == null ? void 0 : playerElement.classList.add("sf-player--compact");
|
|
3474
|
-
if ((
|
|
3474
|
+
if ((_c = store.manifest) == null ? void 0 : _c.compactLabel) {
|
|
3475
3475
|
this.managers.uiManager.showCompactLabel(store.manifest.compactLabel);
|
|
3476
3476
|
}
|
|
3477
3477
|
}
|
|
@@ -11772,7 +11772,7 @@ const SaltfishPlayer$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.de
|
|
|
11772
11772
|
__proto__: null,
|
|
11773
11773
|
SaltfishPlayer
|
|
11774
11774
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
11775
|
-
const version = "0.3.
|
|
11775
|
+
const version = "0.3.35";
|
|
11776
11776
|
const packageJson = {
|
|
11777
11777
|
version
|
|
11778
11778
|
};
|