mirror of
https://github.com/ppy/osu
synced 2025-03-02 09:30:57 +00:00
Fix bad math
This commit is contained in:
parent
cccc06de48
commit
6dbf02454f
@ -72,7 +72,7 @@ namespace osu.Game.Beatmaps
|
|||||||
// Crop the centre region of the background for now.
|
// Crop the centre region of the background for now.
|
||||||
Rectangle cropRectangle = new Rectangle(
|
Rectangle cropRectangle = new Rectangle(
|
||||||
(size.Width - usableWidth) / 2,
|
(size.Width - usableWidth) / 2,
|
||||||
(size.Height - usableHeight) / 3,
|
(size.Height - usableHeight) / 2,
|
||||||
usableWidth,
|
usableWidth,
|
||||||
usableHeight
|
usableHeight
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user