mirror of
https://github.com/ppy/osu.git
synced 2025-01-07 20:42:54 +08:00
Merge branch 'master' into skin-editor-undo-support
This commit is contained in:
commit
0a5c4e04bf
@ -12,7 +12,6 @@ using osu.Framework.Graphics.Shapes;
|
|||||||
using osu.Game.Configuration;
|
using osu.Game.Configuration;
|
||||||
using osu.Game.Graphics;
|
using osu.Game.Graphics;
|
||||||
using osu.Game.Graphics.Sprites;
|
using osu.Game.Graphics.Sprites;
|
||||||
using osu.Game.Graphics.Cursor;
|
|
||||||
using osu.Game.Graphics.UserInterface;
|
using osu.Game.Graphics.UserInterface;
|
||||||
using osu.Game.Online.API;
|
using osu.Game.Online.API;
|
||||||
using osu.Game.Overlays.Profile.Header.Components;
|
using osu.Game.Overlays.Profile.Header.Components;
|
||||||
@ -104,13 +103,7 @@ namespace osu.Game.Overlays.Profile.Header
|
|||||||
Colour = Colour4.Black.Opacity(0.25f),
|
Colour = Colour4.Black.Opacity(0.25f),
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
new OsuContextMenuContainer
|
new FillFlowContainer
|
||||||
{
|
|
||||||
Anchor = Anchor.BottomLeft,
|
|
||||||
Origin = Anchor.BottomLeft,
|
|
||||||
RelativeSizeAxes = Axes.Y,
|
|
||||||
AutoSizeAxes = Axes.X,
|
|
||||||
Child = new FillFlowContainer
|
|
||||||
{
|
{
|
||||||
AutoSizeAxes = Axes.Both,
|
AutoSizeAxes = Axes.Both,
|
||||||
Direction = FillDirection.Vertical,
|
Direction = FillDirection.Vertical,
|
||||||
@ -174,7 +167,6 @@ namespace osu.Game.Overlays.Profile.Header
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
},
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
coverToggle = new ToggleCoverButton
|
coverToggle = new ToggleCoverButton
|
||||||
|
@ -14,6 +14,7 @@ using osu.Framework.Input.Events;
|
|||||||
using osu.Game.Extensions;
|
using osu.Game.Extensions;
|
||||||
using osu.Game.Graphics;
|
using osu.Game.Graphics;
|
||||||
using osu.Game.Graphics.Containers;
|
using osu.Game.Graphics.Containers;
|
||||||
|
using osu.Game.Graphics.Cursor;
|
||||||
using osu.Game.Graphics.Sprites;
|
using osu.Game.Graphics.Sprites;
|
||||||
using osu.Game.Graphics.UserInterface;
|
using osu.Game.Graphics.UserInterface;
|
||||||
using osu.Game.Online;
|
using osu.Game.Online;
|
||||||
@ -100,7 +101,10 @@ namespace osu.Game.Overlays
|
|||||||
Origin = Anchor.TopCentre,
|
Origin = Anchor.TopCentre,
|
||||||
};
|
};
|
||||||
|
|
||||||
Add(sectionsContainer = new ProfileSectionsContainer
|
Add(new OsuContextMenuContainer
|
||||||
|
{
|
||||||
|
RelativeSizeAxes = Axes.Both,
|
||||||
|
Child = sectionsContainer = new ProfileSectionsContainer
|
||||||
{
|
{
|
||||||
ExpandableHeader = Header,
|
ExpandableHeader = Header,
|
||||||
FixedHeader = tabs,
|
FixedHeader = tabs,
|
||||||
@ -110,7 +114,9 @@ namespace osu.Game.Overlays
|
|||||||
Colour = ColourProvider.Background5,
|
Colour = ColourProvider.Background5,
|
||||||
RelativeSizeAxes = Axes.Both
|
RelativeSizeAxes = Axes.Both
|
||||||
},
|
},
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
sectionsContainer.SelectedSection.ValueChanged += section =>
|
sectionsContainer.SelectedSection.ValueChanged += section =>
|
||||||
{
|
{
|
||||||
if (lastSection != section.NewValue)
|
if (lastSection != section.NewValue)
|
||||||
|
Loading…
Reference in New Issue
Block a user