* don't show metronome popup just because metronome is active in backend
This commit is contained in:
parent
e779d25955
commit
2027b90705
|
|
@ -421,7 +421,7 @@ MIX_MODES = context.JK.MIX_MODES;
|
|||
|
||||
resolveMetronome: () ->
|
||||
|
||||
return null if @metronomeTrackMixers.length == 0
|
||||
return null if @metronomeTrackMixers.length == 0 || !@session.isMetronomeOpen()
|
||||
|
||||
mixer = @metronomeTrackMixers[0]
|
||||
|
||||
|
|
|
|||
|
|
@ -28,13 +28,7 @@ context = window
|
|||
|
||||
# if any participant has the metronome open, then we say this session has the metronome open
|
||||
isMetronomeOpen: () ->
|
||||
metronomeOpen = false;
|
||||
for participant in @participants()
|
||||
if participant.metronome_open
|
||||
metronomeOpen = true
|
||||
break
|
||||
|
||||
metronomeOpen
|
||||
@session? && @session.metronome_active
|
||||
|
||||
isPlayingRecording: () ->
|
||||
# this is the server's state; there is no guarantee that the local tracks
|
||||
|
|
|
|||
Loading…
Reference in New Issue