Fix depth values.

This commit is contained in:
Thomas Müller
2016-11-29 20:50:12 +01:00
parent 53df2932ad
commit b12b82fdd3
15 changed files with 19 additions and 19 deletions

View File

@ -22,7 +22,7 @@ namespace osu.Game.Graphics.Backgrounds
{
this.textureName = textureName;
RelativeSizeAxes = Axes.Both;
Depth = float.MinValue;
Depth = float.MaxValue;
Add(Sprite = new Sprite
{

View File

@ -19,7 +19,7 @@ namespace osu.Game.Graphics.Cursor
public OsuCursorContainer()
{
Add(new CursorTrail { Depth = -1 });
Add(new CursorTrail { Depth = 1 });
}
protected override bool OnMouseDown(InputState state, MouseDownEventArgs args)