Play song-preview instead of bg-music (if enabled) on names-, score- and highscore-screen.
This commit is contained in:
1 parent
04c2b85e2b
commit
8e8fdc1277
12 files changed
+48
-12
No files matched your search
@@ -159,11 +159,15 @@ namespace VocaluxeLib.Utils.Player
|
||||
public new void TogglePause()
|
||||
{
|
||||
base.TogglePause();
|
||||
if (_Video != -1)
|
||||
if (!IsPlaying && _Video != -1)
|
||||
{
|
||||
CBase.Video.Pause(_Video);
|
||||
CBase.Video.Skip(_Video, CBase.Sound.GetPosition(_StreamID) + _FadeTime, _Song.VideoGap);
|
||||
}
|
||||
else if(_Video != -1)
|
||||
{
|
||||
CBase.Video.Resume(_Video);
|
||||
}
|
||||
}
|
||||
|
||||
public new void Update()
|
||||
|
||||
Reference in new issue
Block a user