mirror of https://github.com/ppy/osu
Fix bad math
This commit is contained in:
parent
cccc06de48
commit
6dbf02454f
|
@ -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
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue