mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 05:53:19 +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:
@@ -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)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user