mirror of
https://github.com/samuelmaddock/gm-mediaplayer.git
synced 2025-03-04 03:03:02 -05:00
Hide sidebar when turning off all media players
This commit is contained in:
parent
795209d4f2
commit
9f95817e32
@ -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 )
|
||||
|
Loading…
Reference in New Issue
Block a user