diff --git a/jam-ui/src/components/client/JKSessionBackingTrackPlayer.js b/jam-ui/src/components/client/JKSessionBackingTrackPlayer.js index 4e558bdc5..dfcc10b9e 100644 --- a/jam-ui/src/components/client/JKSessionBackingTrackPlayer.js +++ b/jam-ui/src/components/client/JKSessionBackingTrackPlayer.js @@ -3,6 +3,8 @@ import { Modal, ModalHeader, ModalBody, ModalFooter, Button } from 'reactstrap'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import { faPlay, faPause, faStop } from '@fortawesome/free-solid-svg-icons'; import useMediaActions from '../../hooks/useMediaActions'; +import playIcon from '../../assets/img/client/play.svg'; +import stopIcon from '../../assets/img/client/stop.svg'; const JKSessionBackingTrackPlayer = ({ isOpen, @@ -188,6 +190,8 @@ const JKSessionBackingTrackPlayer = ({ console.log('[POLLING] Not looping, stopping and resetting'); // Stop playback and reset to beginning for clean state await jamClient.SessionStopPlay(); + // Seek native client to beginning so next play works immediately + await jamClient.SessionTrackSeekMs(0); setIsPlaying(false); setCurrentPositionMs(0); setCurrentTime('0:00'); @@ -491,34 +495,19 @@ const JKSessionBackingTrackPlayer = ({ height: '100vh', display: 'flex', flexDirection: 'column', - fontFamily: '-apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", sans-serif', - backgroundColor: '#f8f9fa' + // fontFamily: '-apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", sans-serif', + backgroundColor: '#edf2f9f5' }}> - {/* Popup Header */} -