File tree Expand file tree Collapse file tree
mobile/src/features/interaction-sounds Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -50,9 +50,10 @@ export function InteractionSoundCoordinator() {
5050 key = { scopedThreadKey ( threadRef ) }
5151 threadRef = { threadRef }
5252 environmentLive = { liveEnvironmentIds . has ( threadRef . environmentId ) }
53- environmentPreviouslyLive = { previouslyLiveEnvironmentIdsRef . current . has (
54- threadRef . environmentId ,
55- ) }
53+ environmentPreviouslyLive = {
54+ liveEnvironmentIds . has ( threadRef . environmentId ) ||
55+ previouslyLiveEnvironmentIdsRef . current . has ( threadRef . environmentId )
56+ }
5657 completionSoundEnabled = { completionSoundEnabled }
5758 settingsHydrated = { settingsHydrated }
5859 players = { players }
Original file line number Diff line number Diff line change @@ -319,9 +319,10 @@ function InteractionSoundCoordinator() {
319319 key = { scopedThreadKey ( threadRef ) }
320320 threadRef = { threadRef }
321321 environmentLive = { liveEnvironmentIds . has ( threadRef . environmentId ) }
322- environmentPreviouslyLive = { previouslyLiveEnvironmentIdsRef . current . has (
323- threadRef . environmentId ,
324- ) }
322+ environmentPreviouslyLive = {
323+ liveEnvironmentIds . has ( threadRef . environmentId ) ||
324+ previouslyLiveEnvironmentIdsRef . current . has ( threadRef . environmentId )
325+ }
325326 completionSoundEnabled = { completionSoundEnabled }
326327 settingsHydrated = { settingsHydrated }
327328 />
Original file line number Diff line number Diff line change 1616 "start:marketing" : " vp run --filter @t3tools/marketing preview" ,
1717 "start:mock-update-server" : " node scripts/mock-update-server.ts" ,
1818 "screenshots:mobile" : " node scripts/mobile-showcase.ts" ,
19+ "sounds:generate" : " node scripts/generate-interaction-sound-assets.mjs" ,
1920 "icons:export" : " node scripts/export-brand-icons.ts" ,
2021 "icons:check" : " node scripts/export-brand-icons.ts --check" ,
2122 "build" : " vp run --filter './apps/*' build" ,
You can’t perform that action at this time.
0 commit comments