mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-08 17:03:53 +00:00
refactor: allow transition from roll to playback (#847)
This commit is contained in:
@@ -5,7 +5,7 @@ import { Playback } from 'ontime-types';
|
||||
*/
|
||||
export function validatePlayback(currentPlayback: Playback) {
|
||||
return {
|
||||
start: currentPlayback !== Playback.Stop && currentPlayback !== Playback.Roll,
|
||||
start: currentPlayback !== Playback.Stop,
|
||||
pause: currentPlayback === Playback.Play,
|
||||
roll: currentPlayback !== Playback.Roll,
|
||||
stop: currentPlayback !== Playback.Stop,
|
||||
|
||||
Reference in New Issue
Block a user