Hide sidebar when turning off all media players

This commit is contained in:
samuelmaddock 2018-08-03 18:37:47 -04:00
parent 795209d4f2
commit 9f95817e32

View File

@ -10,6 +10,8 @@ hook.Add( "PopulateMenuBar", "MediaPlayerOptions_MenuBar", function( menubar )
for _, mp in ipairs(MediaPlayer.GetAll()) do
MediaPlayer.RequestListen( mp )
end
MediaPlayer.HideSidebar()
end )
end )