diff --git a/BenMakesGames.PlayPlayMini.GraphicsExtensions/BenMakesGames.PlayPlayMini.GraphicsExtensions.csproj b/BenMakesGames.PlayPlayMini.GraphicsExtensions/BenMakesGames.PlayPlayMini.GraphicsExtensions.csproj index 1cf87a4..233cd95 100644 --- a/BenMakesGames.PlayPlayMini.GraphicsExtensions/BenMakesGames.PlayPlayMini.GraphicsExtensions.csproj +++ b/BenMakesGames.PlayPlayMini.GraphicsExtensions/BenMakesGames.PlayPlayMini.GraphicsExtensions.csproj @@ -5,7 +5,7 @@ Ben Hendel-Doying Some GraphicsManager extensions for PlayPlayMini. 2023-2024 Ben Hendel-Doying - 5.0.0 + 5.1.0 true monogame playplaymini graphics extensions animations text diff --git a/BenMakesGames.PlayPlayMini.GraphicsExtensions/GameStateTransitions/ScreenWipe.cs b/BenMakesGames.PlayPlayMini.GraphicsExtensions/GameStateTransitions/ScreenWipe.cs index c6e5c6e..edc2eed 100644 --- a/BenMakesGames.PlayPlayMini.GraphicsExtensions/GameStateTransitions/ScreenWipe.cs +++ b/BenMakesGames.PlayPlayMini.GraphicsExtensions/GameStateTransitions/ScreenWipe.cs @@ -91,7 +91,7 @@ private void DrawWipe(double progress, bool reentering) } } - private void DrawWipeLeftToRight(double progress, bool reentering) + private void DrawWipeRightToLeft(double progress, bool reentering) { var width = (int)(Graphics.Width * progress); @@ -103,7 +103,7 @@ private void DrawWipeLeftToRight(double progress, bool reentering) Graphics.DrawFilledRectangle(x, 0, width, Graphics.Height, Config.Color); } - private void DrawWipeRightToLeft(double progress, bool reentering) + private void DrawWipeLeftToRight(double progress, bool reentering) { var width = (int)(Graphics.Width * progress);