Fix linter issues

This commit is contained in:
Drew DeVault
2017-03-15 22:39:09 -04:00
parent 0000cf1bee
commit 360340c61d
4 changed files with 8 additions and 5 deletions

View File

@ -1,6 +1,7 @@
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.Linq;
using OpenTK;
using OpenTK.Graphics;
using osu.Framework.Allocation;
@ -25,7 +26,7 @@ namespace osu.Game.Graphics.UserInterface
{
accentColour = value;
Header.Colour = value;
foreach (OsuTabDropDownMenuItem<T> item in ItemList)
foreach (var item in ItemList.OfType<OsuTabDropDownMenuItem<T>>())
item.AccentColour = value;
}
}