Merge pull request #699 from topnik-code/fadeTransition-boxingviewportadapter

Fix: FadeTransition glitch
This commit is contained in:
Lucas Girouard-Stranks
2020-10-30 02:31:26 -04:00
committed by GitHub
@@ -27,8 +27,8 @@ namespace MonoGame.Extended.Screens.Transitions
public override void Draw(GameTime gameTime)
{
_spriteBatch.Begin(samplerState: SamplerState.PointClamp);
_spriteBatch.FillRectangle(_graphicsDevice.Viewport.Bounds, Color * Value);
_spriteBatch.FillRectangle(0, 0, _graphicsDevice.Viewport.Width, _graphicsDevice.Viewport.Height, Color * Value);
_spriteBatch.End();
}
}
}
}