1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 07:32:55 +08:00

AutoSize notifications (and add animation)

This commit is contained in:
Dean Herbert 2017-07-28 16:54:09 +09:00
parent 74044baeff
commit 4bb8f40b49

View File

@ -63,6 +63,8 @@ namespace osu.Game.Overlays.Notifications
Masking = true,
RelativeSizeAxes = Axes.X,
AutoSizeAxes = Axes.Y,
AutoSizeDuration = 400,
AutoSizeEasing = Easing.OutQuint,
Children = new Drawable[]
{
new Box
@ -74,7 +76,7 @@ namespace osu.Game.Overlays.Notifications
{
RelativeSizeAxes = Axes.X,
Padding = new MarginPadding(5),
Height = 60,
AutoSizeAxes = Axes.Y,
Children = new Drawable[]
{
IconContent = new Container