pause bg music only in OnShowFinish,
do not play bg music in record screen
This commit is contained in:
1 parent
683ea3caa4
commit
7f2fe5f4d8
2 files changed
+6
-1
No files matched your search
@@ -856,7 +856,6 @@ namespace Vocaluxe.Menu
|
|||||||
public virtual void OnShow()
|
public virtual void OnShow()
|
||||||
{
|
{
|
||||||
ResumeBG();
|
ResumeBG();
|
||||||
CBackgroundMusic.Play();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public virtual void OnShowFinish()
|
public virtual void OnShowFinish()
|
||||||
|
|||||||
@@ -353,6 +353,12 @@ namespace Vocaluxe.Screens
|
|||||||
_DelaySound = -1;
|
_DelaySound = -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public override void OnShowFinish()
|
||||||
|
{
|
||||||
|
base.OnShowFinish();
|
||||||
|
CBackgroundMusic.Pause();
|
||||||
|
}
|
||||||
|
|
||||||
public override bool Draw()
|
public override bool Draw()
|
||||||
{
|
{
|
||||||
DrawBG();
|
DrawBG();
|
||||||
|
|||||||
Reference in new issue
Block a user