pause bg music only in OnShowFinish,

do not play bg music in record screen
This commit is contained in:
Alexander Eckart committed 2012-02-20 17:58:49 +01:00
1 parent 683ea3caa4
commit 7f2fe5f4d8
2 files changed
+6 -1

No files matched your search

-1
View File
@@ -856,7 +856,6 @@ namespace Vocaluxe.Menu
public virtual void OnShow()
{
ResumeBG();
CBackgroundMusic.Play();
}
public virtual void OnShowFinish()
+6
View File
@@ -353,6 +353,12 @@ namespace Vocaluxe.Screens
_DelaySound = -1;
}
public override void OnShowFinish()
{
base.OnShowFinish();
CBackgroundMusic.Pause();
}
public override bool Draw()
{
DrawBG();