From c854bf093bf5146fb044ab95b2cbddf0dc2cc9af Mon Sep 17 00:00:00 2001 From: Joel Date: Fri, 8 May 2020 00:37:18 +0200 Subject: [PATCH] asd --- Game1/Sources/Controlls/Controller.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Game1/Sources/Controlls/Controller.cs b/Game1/Sources/Controlls/Controller.cs index 7f6cce5..289ac15 100644 --- a/Game1/Sources/Controlls/Controller.cs +++ b/Game1/Sources/Controlls/Controller.cs @@ -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;