Fix bad math

This commit is contained in:
Bartłomiej Dach 2023-06-08 14:19:34 +02:00
parent cccc06de48
commit 6dbf02454f
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ private TextureUpload limitTextureUploadSize(TextureUpload textureUpload)
// Crop the centre region of the background for now.
Rectangle cropRectangle = new Rectangle(
(size.Width - usableWidth) / 2,
(size.Height - usableHeight) / 3,
(size.Height - usableHeight) / 2,
usableWidth,
usableHeight
);