mirror of
https://github.com/ppy/osu.git
synced 2025-02-15 20:53:00 +08: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,
|
Texture = working.Background,
|
||||||
Anchor = Anchor.Centre,
|
Anchor = Anchor.Centre,
|
||||||
Origin = 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),
|
Colour = new Color4(200, 200, 200, 255),
|
||||||
},
|
},
|
||||||
new FlowContainer
|
new FlowContainer
|
||||||
|
Loading…
Reference in New Issue
Block a user