mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 14:52:57 +08:00
Drop container from name
This commit is contained in:
parent
5681d1097c
commit
8d3f2f7645
@ -1,6 +1,8 @@
|
||||
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
||||
// See the LICENCE file in the repository root for full licence text.
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using NUnit.Framework;
|
||||
using osu.Framework.Allocation;
|
||||
using osu.Framework.Bindables;
|
||||
@ -13,16 +15,21 @@ using osu.Game.Users;
|
||||
namespace osu.Game.Tests.Visual.Online
|
||||
{
|
||||
[TestFixture]
|
||||
public class TestScenePreviousUsernamesContainer : OsuTestScene
|
||||
public class TestSceneUserProfilePreviousUsernames : OsuTestScene
|
||||
{
|
||||
public override IReadOnlyList<Type> RequiredTypes => new[]
|
||||
{
|
||||
typeof(PreviousUsernames)
|
||||
};
|
||||
|
||||
[Resolved]
|
||||
private IAPIProvider api { get; set; }
|
||||
|
||||
private readonly Bindable<User> user = new Bindable<User>();
|
||||
|
||||
public TestScenePreviousUsernamesContainer()
|
||||
public TestSceneUserProfilePreviousUsernames()
|
||||
{
|
||||
Child = new PreviousUsernamesContainer
|
||||
Child = new PreviousUsernames
|
||||
{
|
||||
Anchor = Anchor.Centre,
|
||||
Origin = Anchor.Centre,
|
@ -16,7 +16,7 @@ using osuTK;
|
||||
|
||||
namespace osu.Game.Overlays.Profile.Header.Components
|
||||
{
|
||||
public class PreviousUsernamesContainer : CompositeDrawable
|
||||
public class PreviousUsernames : CompositeDrawable
|
||||
{
|
||||
private const int duration = 200;
|
||||
private const int margin = 10;
|
||||
@ -29,7 +29,7 @@ namespace osu.Game.Overlays.Profile.Header.Components
|
||||
private readonly Box background;
|
||||
private readonly SpriteText header;
|
||||
|
||||
public PreviousUsernamesContainer()
|
||||
public PreviousUsernames()
|
||||
{
|
||||
HoverIconContainer hoverIcon;
|
||||
|
Loading…
Reference in New Issue
Block a user