* VRFS-3711 - push video button brings to front

This commit is contained in:
Seth Call 2015-11-16 20:46:44 -06:00
parent efb4214e9a
commit 38a64a3dde
1 changed files with 6 additions and 1 deletions

View File

@ -140,6 +140,11 @@ BackendToFrontendFPS = {
@state.videoShared = @videoShared
this.trigger(@state)
onBringVideoToFront: ->
if @videoShared
@logger.debug("BringVideoToFront")
context.jamClient.BringVideoWindowToFront();
onTestVideo: () ->
return unless context.jamClient.testVideoRender?
@ -150,7 +155,7 @@ BackendToFrontendFPS = {
onToggleVideo: () ->
if @videoShared
@onStopVideo()
@onBringVideoToFront()
else
@onStartVideo()