1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 20:47:51 +08:00

Add blur to background

This commit is contained in:
smoogipoo 2021-08-12 20:01:53 +09:00
parent 050f2d6b0d
commit 03351cf434

View File

@ -22,6 +22,7 @@ using osu.Game.Screens.OnlinePlay.Components;
using osu.Game.Screens.OnlinePlay.Lounge;
using osu.Game.Screens.OnlinePlay.Lounge.Components;
using osu.Game.Users;
using osuTK;
using osuTK.Graphics;
namespace osu.Game.Screens.OnlinePlay
@ -100,9 +101,14 @@ namespace osu.Game.Screens.OnlinePlay
RelativeSizeAxes = Axes.Both,
Children = new Drawable[]
{
new HeaderBackgroundSprite
new BufferedContainer
{
RelativeSizeAxes = Axes.Both
RelativeSizeAxes = Axes.Both,
BlurSigma = new Vector2(10),
Child = new HeaderBackgroundSprite
{
RelativeSizeAxes = Axes.Both
}
},
new Box
{