mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Add drop shadows to main menu buttons.
This commit is contained in:
@ -1,6 +1,8 @@
|
||||
using osu.Framework.Graphics;
|
||||
using osu.Framework.Graphics.Containers;
|
||||
using OpenTK;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
namespace osu.Game.Screens.Menu
|
||||
{
|
||||
@ -15,6 +17,10 @@ namespace osu.Game.Screens.Menu
|
||||
/// </summary>
|
||||
public Drawable CentreTarget;
|
||||
|
||||
protected override IComparer<Drawable> DepthComparer => new ReverseDepthComparer();
|
||||
|
||||
protected override IEnumerable<Drawable> SortedChildren => base.SortedChildren.Reverse();
|
||||
|
||||
public override Anchor Origin => Anchor.Custom;
|
||||
|
||||
public override Vector2 OriginPosition
|
||||
|
Reference in New Issue
Block a user