Fix: Config.Video.VideoPreview is ignored (fixes #391)
This commit is contained in:
1 parent
b3143bc908
commit
5a8c88a11e
1 file changed
+4
-2
@@ -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)
|
||||||
{
|
{
|
||||||
@@ -653,4 +655,4 @@ namespace VocaluxeLib.Menu.SongMenu
|
|||||||
base.LoadSkin();
|
base.LoadSkin();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user