Fix: Draw reflection of video in song-screen.
This commit is contained in:
1 parent
48d60d070f
commit
2a18c12446
1 file changed
+5
-2
@@ -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)
|
||||||
@@ -463,9 +463,12 @@ namespace Vocaluxe.Menu.SongMenu
|
|||||||
|
|
||||||
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();
|
||||||
_SongLength.Draw();
|
_SongLength.Draw();
|
||||||
|
|||||||
Reference in new issue
Block a user