mirror of
https://github.com/openstf/stf
synced 2025-10-05 19:42:01 +02:00
Tell new broadcast sessions what the current state is, just in case they
were added in the middle of an existing session.
This commit is contained in:
parent
792713d415
commit
797e97e7c7
1 changed files with 4 additions and 0 deletions
|
@ -455,6 +455,10 @@ module.exports = syrup.serial()
|
|||
frameProducer.stop()
|
||||
})
|
||||
|
||||
broadcastSet.on('insert', function(id) {
|
||||
broadcastSet.get(id).onStart(frameProducer)
|
||||
})
|
||||
|
||||
display.on('rotationChange', function(newRotation) {
|
||||
frameProducer.updateRotation(newRotation)
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue