1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-26 16:12:54 +08:00

Move tooltips below the cursor.

This commit is contained in:
Dean Herbert 2017-04-20 20:27:53 +09:00
parent 6e3125e115
commit d656090aab
No known key found for this signature in database
GPG Key ID: 46D71BF4958ABB49

View File

@ -147,8 +147,16 @@ namespace osu.Game
{
Children = new Drawable[]
{
Cursor = new MenuCursor { Depth = float.MinValue },
new TooltipContainer(Cursor) { Depth = float.MinValue }
new Container
{
RelativeSizeAxes = Axes.Both,
Depth = float.MinValue,
Children = new Drawable[]
{
Cursor = new MenuCursor(),
new TooltipContainer(Cursor) { Depth = -1 },
}
},
}
});
}