mirror of
https://github.com/ppy/osu
synced 2024-12-15 03:16:17 +00:00
Rename UserTabItem to UserChannelTabItem
This commit is contained in:
parent
1589b65494
commit
0c62726fd7
@ -59,7 +59,7 @@ namespace osu.Game.Overlays.Chat.Tabs
|
||||
case TargetType.Channel:
|
||||
return new ChannelTabItem(value) { OnRequestClose = tabCloseRequested };
|
||||
case TargetType.User:
|
||||
return new UserTabItem(value) { OnRequestClose = tabCloseRequested };
|
||||
return new UserChannelTabItem(value) { OnRequestClose = tabCloseRequested };
|
||||
default:
|
||||
throw new InvalidOperationException("Only TargetType User and Channel are supported.");
|
||||
}
|
||||
|
@ -19,7 +19,7 @@ using OpenTK.Graphics;
|
||||
|
||||
namespace osu.Game.Overlays.Chat.Tabs
|
||||
{
|
||||
public class UserTabItem : TabItem<Channel>
|
||||
public class UserChannelTabItem : TabItem<Channel>
|
||||
{
|
||||
private static readonly Vector2 shear = new Vector2(1f / 5f, 0);
|
||||
public override bool IsRemovable => true;
|
||||
@ -31,7 +31,7 @@ namespace osu.Game.Overlays.Chat.Tabs
|
||||
private readonly Avatar avatarContainer;
|
||||
private readonly TabCloseButton closeButton;
|
||||
|
||||
public UserTabItem(Channel value)
|
||||
public UserChannelTabItem(Channel value)
|
||||
: base(value)
|
||||
{
|
||||
if (value.Target != TargetType.User)
|
||||
@ -160,7 +160,7 @@ namespace osu.Game.Overlays.Chat.Tabs
|
||||
};
|
||||
}
|
||||
|
||||
public Action<UserTabItem> OnRequestClose;
|
||||
public Action<UserChannelTabItem> OnRequestClose;
|
||||
|
||||
private readonly EdgeEffectParameters activateEdgeEffect = new EdgeEffectParameters
|
||||
{
|
Loading…
Reference in New Issue
Block a user