mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 16:52:54 +08:00
Working beatmap background scaling fix
Add a check for the working beatmap background width and assign a proper scaling value to cover the whole box
This commit is contained in:
parent
3c8f94dd0f
commit
c4132339a6
@ -40,7 +40,7 @@ namespace osu.Game.Beatmaps.Drawable
|
||||
Texture = working.Background,
|
||||
Anchor = Anchor.Centre,
|
||||
Origin = Anchor.Centre,
|
||||
Scale = new Vector2(0.5f),
|
||||
Scale = new Vector2((working.Background.Width >= 1366) ? 0.5f : 0.6f),
|
||||
Colour = new Color4(200, 200, 200, 255),
|
||||
},
|
||||
new FlowContainer
|
||||
|
Loading…
Reference in New Issue
Block a user