1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 12:02:55 +08:00

Rename renaming button/pill classes

This commit is contained in:
Dean Herbert 2022-03-21 14:15:22 +09:00
parent 812343b410
commit f922a6b556
3 changed files with 5 additions and 5 deletions

View File

@ -34,7 +34,7 @@ namespace osu.Game.Overlays.Chat.ChannelList
private Box? hoverBox;
private Box? selectBox;
private OsuSpriteText? text;
private ChannelListItemClose? close;
private ChannelListItemCloseButton? close;
[Resolved]
private Bindable<Channel> selectedChannel { get; set; } = null!;
@ -97,14 +97,14 @@ namespace osu.Game.Overlays.Chat.ChannelList
RelativeSizeAxes = Axes.X,
Truncate = true,
},
new ChannelListItemMention
new ChannelListItemMentionPill
{
Anchor = Anchor.CentreLeft,
Origin = Anchor.CentreLeft,
Margin = new MarginPadding { Right = 3 },
Mentions = { BindTarget = Mentions },
},
close = new ChannelListItemClose
close = new ChannelListItemCloseButton
{
Anchor = Anchor.CentreLeft,
Origin = Anchor.CentreLeft,

View File

@ -12,7 +12,7 @@ using osuTK;
namespace osu.Game.Overlays.Chat.ChannelList
{
public class ChannelListItemClose : OsuAnimatedButton
public class ChannelListItemCloseButton : OsuAnimatedButton
{
[BackgroundDependencyLoader]
private void load(OsuColour osuColour)

View File

@ -14,7 +14,7 @@ using osuTK;
namespace osu.Game.Overlays.Chat.ChannelList
{
public class ChannelListItemMention : CircularContainer
public class ChannelListItemMentionPill : CircularContainer
{
public readonly BindableInt Mentions = new BindableInt();