Merge pull request #19059 from gustavotrott/akka-reset-timer-on-switch-type
fix (akka-apps): Automatically reset values upon switching between Stopwatch and Timer
This commit is contained in:
commit
353a6e36f8
@ -34,6 +34,7 @@ trait SwitchTimerReqMsgHdlr extends RightsManagementTrait {
|
||||
} else {
|
||||
if (TimerModel.getStopwatch(liveMeeting.timerModel) != msg.body.stopwatch) {
|
||||
TimerModel.setStopwatch(liveMeeting.timerModel, msg.body.stopwatch)
|
||||
TimerModel.reset(liveMeeting.timerModel) //Reset on switch Stopwatch/Timer
|
||||
if (msg.body.stopwatch) {
|
||||
TimerModel.setTrack(liveMeeting.timerModel, "noTrack")
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user