mirror of https://github.com/ppy/osu
Merge pull request #15053 from peppy/remove-button-drop-shadow
Remove drop shadow from `RoundedButton`
This commit is contained in:
commit
8291d74b68
|
@ -5,9 +5,7 @@
|
|||
using osu.Framework.Allocation;
|
||||
using osu.Framework.Graphics;
|
||||
using osu.Framework.Graphics.Containers;
|
||||
using osu.Framework.Graphics.Effects;
|
||||
using osu.Game.Graphics.UserInterface;
|
||||
using osuTK;
|
||||
|
||||
namespace osu.Game.Graphics.UserInterfaceV2
|
||||
{
|
||||
|
@ -29,14 +27,6 @@ public override float Height
|
|||
private void load(OsuColour colours)
|
||||
{
|
||||
BackgroundColour = colours.Blue3;
|
||||
|
||||
Content.EdgeEffect = new EdgeEffectParameters
|
||||
{
|
||||
Type = EdgeEffectType.Shadow,
|
||||
Offset = new Vector2(0, 2),
|
||||
Radius = 4,
|
||||
Colour = Colour4.Black.Opacity(0.15f)
|
||||
};
|
||||
}
|
||||
|
||||
protected override void LoadComplete()
|
||||
|
|
Loading…
Reference in New Issue