mirror of
https://github.com/ppy/osu
synced 2024-12-13 10:28:17 +00:00
Background scaling different approach
This commit is contained in:
parent
c4132339a6
commit
bcc1d7c669
@ -40,7 +40,7 @@ namespace osu.Game.Beatmaps.Drawable
|
||||
Texture = working.Background,
|
||||
Anchor = Anchor.Centre,
|
||||
Origin = Anchor.Centre,
|
||||
Scale = new Vector2((working.Background.Width >= 1366) ? 0.5f : 0.6f),
|
||||
Scale = new Vector2(1366 / working.Background.Width * 0.6f),
|
||||
Colour = new Color4(200, 200, 200, 255),
|
||||
},
|
||||
new FlowContainer
|
||||
|
Loading…
Reference in New Issue
Block a user