mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-15 04:13:47 +00:00
improvements
- stage manager sees timer with negative values - time up only shows if timer has been running - use spacebar to toggle navbar - pip shows times with delays improve iterate
This commit is contained in:
@@ -215,16 +215,13 @@ const withSocket = (Component) => {
|
||||
/*** -------------------------------- ***/
|
||||
/******************************************/
|
||||
|
||||
// inject info:
|
||||
// is timer finished
|
||||
let finished = timer.currentSeconds <= 0;
|
||||
|
||||
// get clock
|
||||
let clock = stringFromMillis(timer.clock);
|
||||
|
||||
// get clock string
|
||||
const timeManager = {
|
||||
...timer,
|
||||
finished: finished,
|
||||
clock: clock,
|
||||
finished: timer.running <= 0 && timer.startedAt,
|
||||
clock: stringFromMillis(timer.clock),
|
||||
playstate: playback,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user