Merge pull request #460 from Vocaluxe/AutomaticAspectRatioForBackgroundImages
Change: Automatic aspect ratio also for background images
This commit is contained in:
1 file changed
+1
-1
@@ -1081,11 +1081,11 @@ namespace Vocaluxe.Screens
|
|||||||
voiceAssignments[i] = CGame.Players[i].VoiceNr;
|
voiceAssignments[i] = CGame.Players[i].VoiceNr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
_VideoAspect = EAspect.Automatic;
|
||||||
if (!String.IsNullOrEmpty(song.VideoFileName))
|
if (!String.IsNullOrEmpty(song.VideoFileName))
|
||||||
{
|
{
|
||||||
_CurrentVideo = CVideo.Load(Path.Combine(song.Folder, song.VideoFileName));
|
_CurrentVideo = CVideo.Load(Path.Combine(song.Folder, song.VideoFileName));
|
||||||
CVideo.Skip(_CurrentVideo, song.Start, song.VideoGap);
|
CVideo.Skip(_CurrentVideo, song.Start, song.VideoGap);
|
||||||
_VideoAspect = EAspect.Automatic;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
CDraw.RemoveTexture(ref _Background);
|
CDraw.RemoveTexture(ref _Background);
|
||||||
|
|||||||
Reference in new issue
Block a user