Lyrics: Fixed zoom animation
This commit is contained in:
1 parent
028eda099a
commit
708d7f194b
1 file changed
+1
-1
@@ -358,7 +358,7 @@ namespace VocaluxeLib.Menu
|
|||||||
SRectF normalRect = _Text.Rect;
|
SRectF normalRect = _Text.Rect;
|
||||||
_Text.Height += _Text.Height * p * 0.4f;
|
_Text.Height += _Text.Height * p * 0.4f;
|
||||||
_Text.X -= (_Text.Rect.W - normalRect.W) / 2f;
|
_Text.X -= (_Text.Rect.W - normalRect.W) / 2f;
|
||||||
_Text.Y -= (_Text.Rect.W - normalRect.H) / 2f;
|
_Text.Y -= (_Text.Rect.H - normalRect.H) / 2f;
|
||||||
_Text.Z -= 0.1f;
|
_Text.Z -= 0.1f;
|
||||||
|
|
||||||
_Text.Draw();
|
_Text.Draw();
|
||||||
|
|||||||
Reference in new issue
Block a user