Fix: Draw reflection of video in song-screen.
This commit is contained in:
1 parent
48d60d070f
commit
2a18c12446
1 file changed
+6
-3
@@ -451,8 +451,8 @@ namespace Vocaluxe.Menu.SongMenu
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (_vidtex.color.A < 1)
|
||||||
_CoverBig.Draw(1f, true);
|
_CoverBig.Draw(1f, true);
|
||||||
_TextBG.Draw();
|
_TextBG.Draw();
|
||||||
|
|
||||||
if (_vidtex.index != -1 && _Video != -1)
|
if (_vidtex.index != -1 && _Video != -1)
|
||||||
@@ -462,9 +462,12 @@ namespace Vocaluxe.Menu.SongMenu
|
|||||||
CHelper.SetRect(bounds, ref rect, rect.Width / rect.Height, EAspect.Crop);
|
CHelper.SetRect(bounds, ref rect, rect.Width / rect.Height, EAspect.Crop);
|
||||||
|
|
||||||
CDraw.DrawTexture(_vidtex, new SRectF(rect.X, rect.Y, rect.Width, rect.Height, _CoverBig.Rect.Z),
|
CDraw.DrawTexture(_vidtex, new SRectF(rect.X, rect.Y, rect.Width, rect.Height, _CoverBig.Rect.Z),
|
||||||
_vidtex.color, new SRectF(bounds.X, bounds.Y, bounds.Width, bounds.Height, 0f), false);
|
_vidtex.color, new SRectF(bounds.X, bounds.Y, bounds.Width, bounds.Height, 0f), false);
|
||||||
|
CDraw.DrawTextureReflection(_vidtex, new SRectF(rect.X, rect.Y, rect.Width, rect.Height, _CoverBig.Rect.Z),
|
||||||
|
_vidtex.color, new SRectF(bounds.X, bounds.Y, bounds.Width, bounds.Height, 0f), _CoverBig.ReflectionSpace, _CoverBig.ReflectionHeight);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
_Artist.Draw();
|
_Artist.Draw();
|
||||||
_Title.Draw();
|
_Title.Draw();
|
||||||
|
|||||||
Reference in new issue
Block a user