This commit is contained in:
Joel 2020-05-08 00:37:18 +02:00
parent fe35083968
commit c854bf093b

View File

@ -17,7 +17,7 @@ class Controller
public Vector2 updateWindow(int tileSize, int Spacing, Vector2 Size)
{
KeyboardState state = Keyboard.GetState();
if (state.IsKeyDown(Keys.D) && Size.X < 100)
if (state.IsKeyDown(Keys.D) && Size.X < 99)
{
Size.X++;
graphics.PreferredBackBufferWidth = (tileSize + Spacing) * (int)Size.X - Spacing;