Rename UserTabItem to UserChannelTabItem

This commit is contained in:
miterosan 2018-07-09 19:48:05 +02:00
parent 1589b65494
commit 0c62726fd7
2 changed files with 4 additions and 4 deletions

View File

@ -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.");
}

View File

@ -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
{