Do not show backgroundvideo if Next() is called
This commit is contained in:
1 parent
edf0249951
commit
38e253821d
2 files changed
+3
-4
No files matched your search
@@ -137,11 +137,10 @@ namespace Vocaluxe.Menu
|
||||
public bool Draw()
|
||||
{
|
||||
bool ok = false;
|
||||
if (_Theme.Type == EBackgroundTypes.Video && CConfig.VideoBackgrounds == EOffOn.TR_CONFIG_ON)
|
||||
ok = DrawVideo();
|
||||
|
||||
if (_Theme.Type == EBackgroundTypes.Video && CConfig.VideoBackgrounds == EOffOn.TR_CONFIG_ON && CBackgroundMusic.VideoToBackgroundIsEnabled() && CBackgroundMusic.IsPlaying() && CBackgroundMusic.HasVideo())
|
||||
ok = DrawBackgroundMusicVideo();
|
||||
else if (_Theme.Type == EBackgroundTypes.Video && CConfig.VideoBackgrounds == EOffOn.TR_CONFIG_ON)
|
||||
ok = DrawVideo();
|
||||
|
||||
if (_Theme.TextureName != String.Empty &&
|
||||
(_Theme.Type == EBackgroundTypes.Texture ||
|
||||
|
||||
@@ -155,7 +155,7 @@ namespace Vocaluxe.Screens
|
||||
if (CBackgroundMusic.IsVideoEnabled() && CBackgroundMusic.HasVideo())
|
||||
{
|
||||
Statics[htStatics(StaticCover)].Texture = CBackgroundMusic.GetCover();
|
||||
Statics[htStatics(StaticCover)].Visible = true;
|
||||
Statics[htStatics(StaticCover)].Visible = false;
|
||||
CDraw.DrawTexture(Statics[htStatics(StaticCover)], CBackgroundMusic.GetVideoTexture(), EAspect.Crop);
|
||||
}
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user