1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 16:42:57 +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? hoverBox;
private Box? selectBox; private Box? selectBox;
private OsuSpriteText? text; private OsuSpriteText? text;
private ChannelListItemClose? close; private ChannelListItemCloseButton? close;
[Resolved] [Resolved]
private Bindable<Channel> selectedChannel { get; set; } = null!; private Bindable<Channel> selectedChannel { get; set; } = null!;
@ -97,14 +97,14 @@ namespace osu.Game.Overlays.Chat.ChannelList
RelativeSizeAxes = Axes.X, RelativeSizeAxes = Axes.X,
Truncate = true, Truncate = true,
}, },
new ChannelListItemMention new ChannelListItemMentionPill
{ {
Anchor = Anchor.CentreLeft, Anchor = Anchor.CentreLeft,
Origin = Anchor.CentreLeft, Origin = Anchor.CentreLeft,
Margin = new MarginPadding { Right = 3 }, Margin = new MarginPadding { Right = 3 },
Mentions = { BindTarget = Mentions }, Mentions = { BindTarget = Mentions },
}, },
close = new ChannelListItemClose close = new ChannelListItemCloseButton
{ {
Anchor = Anchor.CentreLeft, Anchor = Anchor.CentreLeft,
Origin = Anchor.CentreLeft, Origin = Anchor.CentreLeft,

View File

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

View File

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