Merge pull request #460 from Vocaluxe/AutomaticAspectRatioForBackgroundImages

Change: Automatic aspect ratio also for background images
This commit is contained in:
Stefan authored and GitHub committed 2020-01-19 17:58:44 +01:00
commit 8e4da6cef2
1 file changed
+1 -1
+1 -1
View File
@@ -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);