* wip
This commit is contained in:
parent
8c75f41a3f
commit
2ffd9bb7a7
|
|
@ -18,6 +18,7 @@ if accessOpener
|
|||
SessionActions = window.opener.SessionActions
|
||||
MediaPlaybackStore = window.opener.MediaPlaybackStore
|
||||
MixerActions = window.opener.MixerActions
|
||||
JamTrackStore = window.opener.JamTrackStore
|
||||
|
||||
mixins.push(Reflux.listenTo(MediaPlaybackStore, 'onMediaStateChanged'))
|
||||
|
||||
|
|
|
|||
|
|
@ -194,7 +194,10 @@ MIX_MODES = context.JK.MIX_MODES;
|
|||
@mediaSummary.mediaOpen = mediaOpenSummary
|
||||
|
||||
# the user needs media controls if any media is open, or, if the user has indicated they want to open a JamTrack
|
||||
@mediaSummary.userNeedsMediaControls == @mediaSummary.mediaOpen || window.JamTrackStore.jamTrack?
|
||||
@mediaSummary.userNeedsMediaControls = @mediaSummary.mediaOpen || window.JamTrackStore.jamTrack?
|
||||
|
||||
# this defines what the user wants to be open, not what actually is open in the backend and/or session
|
||||
@mediaSummary.jamTrack = window.JamTrackStore.jamTrack
|
||||
|
||||
# figure out if we opened any media
|
||||
isOpener = false
|
||||
|
|
|
|||
Loading…
Reference in New Issue