Skip to content

Commit a716615

Browse files
committed
Watch audioContainer and content in useParticipantState.
1 parent 143301d commit a716615

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/helpers/sceneless-project.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -2011,7 +2011,7 @@ export const commands = (_project: ScenelessProject) => {
20112011

20122012
// Watch for changes to the parent children
20132013
const childListener = CoreContext.onInternal('NodeChanged', (payload) => {
2014-
if (payload.nodeId !== content.id) return
2014+
if (![content.id, audioContainer.id].includes(payload.nodeId)) return
20152015
const previous = participantNode
20162016
participantNode = commands.getParticipantNode(participantId, type)
20172017
if (previous !== participantNode) {

0 commit comments

Comments
 (0)