mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 10:42:54 +08:00
AutoSize notifications (and add animation)
This commit is contained in:
parent
74044baeff
commit
4bb8f40b49
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user