ProfileItemBackground -> ProfileItemContainer

This commit is contained in:
Andrei Zavatski 2020-01-19 22:48:11 +03:00
parent 22118b7b22
commit 8906416294
4 changed files with 5 additions and 5 deletions

View File

@ -21,7 +21,7 @@ public class TestSceneUserProfileScores : OsuTestScene
{
typeof(DrawableProfileScore),
typeof(DrawableProfileWeightedScore),
typeof(ProfileItemBackground),
typeof(ProfileItemContainer),
};
public TestSceneUserProfileScores()

View File

@ -61,7 +61,7 @@ private void load(OsuColour colours)
CornerRadius = corner_radius,
Children = new Drawable[]
{
new ProfileItemBackground
new ProfileItemContainer
{
Child = new Container
{

View File

@ -11,7 +11,7 @@
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 @@ public class ProfileItemBackground : OsuHoverContainer
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

View File

@ -41,7 +41,7 @@ public DrawableProfileScore(ScoreInfo score)
[BackgroundDependencyLoader]
private void load()
{
AddInternal(new ProfileItemBackground
AddInternal(new ProfileItemContainer
{
Children = new Drawable[]
{