1
0
Fork 0
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:
Simo Kinnunen 2015-09-14 19:34:06 +09:00
parent 792713d415
commit 797e97e7c7

View file

@ -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)
})