Disable music player until its finished
This commit is contained in:
@@ -20,7 +20,7 @@ namespace OpenRA.Widgets.Delegates
|
||||
public MusicPlayerDelegate()
|
||||
{
|
||||
var bg = Widget.RootWidget.GetWidget("MUSIC_BG");
|
||||
bg.Visible = Game.Settings.MusicPlayer;
|
||||
//bg.Visible = Game.Settings.MusicPlayer;
|
||||
CurrentSong = GetNextSong();
|
||||
|
||||
bg.GetWidget("BUTTON_PLAY").OnMouseUp = mi =>
|
||||
|
||||
@@ -100,7 +100,7 @@ Background@MUSIC_BG:
|
||||
Y:WINDOW_BOTTOM - HEIGHT - 20
|
||||
Width: 300
|
||||
Height: 210
|
||||
Visible: true
|
||||
Visible: false
|
||||
Children:
|
||||
Button@BUTTON_PLAY:
|
||||
Id:BUTTON_PLAY
|
||||
|
||||
Reference in New Issue
Block a user