Code cleanups

This commit is contained in:
miterosan 2018-07-09 22:41:53 +02:00
parent 72ea3128fa
commit ea597916ca
3 changed files with 2 additions and 4 deletions

View File

@ -3,7 +3,6 @@
using System.ComponentModel;
using osu.Framework.Graphics.Containers;
using osu.Game.Online.Chat;
using osu.Game.Overlays;
namespace osu.Game.Tests.Visual

View File

@ -9,7 +9,6 @@
using OpenTK;
using osu.Framework.Configuration;
using System;
using osu.Game.Overlays.Chat.Tabs;
namespace osu.Game.Overlays.Chat.Tabs
{

View File

@ -115,7 +115,7 @@ public ChannelTabItem(Channel value)
Anchor = Anchor.BottomLeft;
Origin = Anchor.BottomLeft;
Shear = new Vector2(ChannelTabControl.shear_width / ChatOverlay.TAB_AREA_HEIGHT, 0);
Shear = new Vector2(ChannelTabControl.SHEAR_WIDTH / ChatOverlay.TAB_AREA_HEIGHT, 0);
Masking = true;
EdgeEffect = new EdgeEffectParameters
@ -143,7 +143,7 @@ public ChannelTabItem(Channel value)
},
new Container
{
Shear = new Vector2(-ChannelTabControl.shear_width / ChatOverlay.TAB_AREA_HEIGHT, 0),
Shear = new Vector2(-ChannelTabControl.SHEAR_WIDTH / ChatOverlay.TAB_AREA_HEIGHT, 0),
RelativeSizeAxes = Axes.Both,
Children = new Drawable[]
{