Background scaling different approach

This commit is contained in:
Maciej 2016-11-06 04:37:41 +01:00
parent c4132339a6
commit bcc1d7c669

View File

@ -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