mirror of
https://github.com/ppy/osu
synced 2025-03-08 20:40:12 +00:00
ProfileItemBackground -> ProfileItemContainer
This commit is contained in:
parent
22118b7b22
commit
8906416294
osu.Game.Tests/Visual/Online
osu.Game/Overlays/Profile/Sections
@ -21,7 +21,7 @@ namespace osu.Game.Tests.Visual.Online
|
||||
{
|
||||
typeof(DrawableProfileScore),
|
||||
typeof(DrawableProfileWeightedScore),
|
||||
typeof(ProfileItemBackground),
|
||||
typeof(ProfileItemContainer),
|
||||
};
|
||||
|
||||
public TestSceneUserProfileScores()
|
||||
|
@ -61,7 +61,7 @@ namespace osu.Game.Overlays.Profile.Sections.Historical
|
||||
CornerRadius = corner_radius,
|
||||
Children = new Drawable[]
|
||||
{
|
||||
new ProfileItemBackground
|
||||
new ProfileItemContainer
|
||||
{
|
||||
Child = new Container
|
||||
{
|
||||
|
@ -11,7 +11,7 @@ using System.Collections.Generic;
|
||||
|
||||
namespace osu.Game.Overlays.Profile.Sections
|
||||
{
|
||||
public class ProfileItemBackground : OsuHoverContainer
|
||||
public class ProfileItemContainer : OsuHoverContainer
|
||||
{
|
||||
protected override IEnumerable<Drawable> EffectTargets => new[] { background };
|
||||
protected override Container<Drawable> Content => content;
|
||||
@ -19,7 +19,7 @@ namespace osu.Game.Overlays.Profile.Sections
|
||||
private readonly Box background;
|
||||
private readonly Container content;
|
||||
|
||||
public ProfileItemBackground()
|
||||
public ProfileItemContainer()
|
||||
{
|
||||
RelativeSizeAxes = Axes.Both;
|
||||
Enabled.Value = true; //manually enabled, because we have no action
|
@ -41,7 +41,7 @@ namespace osu.Game.Overlays.Profile.Sections.Ranks
|
||||
[BackgroundDependencyLoader]
|
||||
private void load()
|
||||
{
|
||||
AddInternal(new ProfileItemBackground
|
||||
AddInternal(new ProfileItemContainer
|
||||
{
|
||||
Children = new Drawable[]
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user