More Clean UP

This commit is contained in:
John Neijzen
2017-06-07 20:07:18 +08:00
parent 9b0e1c26a3
commit 23a7045eef
3 changed files with 7 additions and 15 deletions

View File

@ -122,7 +122,7 @@ namespace osu.Game.Overlays
{
Top = padding * 2,
Bottom = padding * 2,
Left = ChatLine.LEFT_PADDING + padding * 2,
Left = ChatLine.LEFT_PADDING + (padding * 2),
Right = padding * 2,
},
Children = new Drawable[]
@ -202,7 +202,7 @@ namespace osu.Game.Overlays
{
Trace.Assert(state.Mouse.PositionMouseDown != null);
chatHeight.Value = startDragChatHeight - (state.Mouse.Position.Y - state.Mouse.PositionMouseDown.Value.Y) / Parent.DrawSize.Y;
chatHeight.Value = startDragChatHeight - ((state.Mouse.Position.Y - state.Mouse.PositionMouseDown.Value.Y) / Parent.DrawSize.Y);
return base.OnDrag(state);
}
@ -367,7 +367,6 @@ namespace osu.Game.Overlays
}
else
{
careChannels.Add(channel);
channelTabs.AddItem(channel);
}