-
- {formattedPosition}
-
-
handleSeek(parseInt(e.target.value, 10))}
- disabled={isOperating || !jamTrackState.durationMs}
+ {/* Controls Section - only show when track is ready (not in loading/download states) */}
+ {(downloadState.state === 'idle' || downloadState.state === 'synchronized') && !isLoadingSync && (
+
+ {/* Circular Buttons and Seek Bar */}
+
+ {/* Play Button - Circular */}
+
-
- {formattedDuration}
-
-
-
+ >
+ {jamTrackState.isPlaying && !jamTrackState.isPaused ? (
+
+ ) : (
+
+ )}
+
- {/* Mix Selector */}
- {availableMixdowns.length > 0 && (
-
-
-
- Mix:
+ {/* Stop Button - Circular */}
+
+
+ {/* Time and Seek Bar */}
+
+
+ {formattedPosition}
-
-
-
- )}
-
+
+ {/* Mix Selector */}
+ {availableMixdowns.length > 0 && (
+
+
+
+ Mix:
+
+
+
+
+
+ )}
+