Fix: Config.Video.VideoPreview is ignored (fixes #391)
This commit is contained in:
1 parent
b3143bc908
commit
5a8c88a11e
1 file changed
+3
-1
@@ -511,7 +511,9 @@ namespace VocaluxeLib.Menu.SongMenu
|
|||||||
}
|
}
|
||||||
_TextBG.Draw();
|
_TextBG.Draw();
|
||||||
|
|
||||||
CTextureRef vidtex = CBase.BackgroundMusic.IsPlayingPreview() ? CBase.BackgroundMusic.GetVideoTexture() : null;
|
CTextureRef vidtex = null;
|
||||||
|
if (CBase.Config.GetVideoPreview() == EOffOn.TR_CONFIG_ON)
|
||||||
|
vidtex = (CBase.BackgroundMusic.IsPlayingPreview() ? CBase.BackgroundMusic.GetVideoTexture() : null);
|
||||||
|
|
||||||
if (vidtex != null)
|
if (vidtex != null)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user