1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 16:27:26 +08:00

Make OsuTabControl.isEnumType static.

This commit is contained in:
Huo Yaoyuan 2017-06-09 19:04:29 +08:00
parent 798d8711b8
commit 3945d33adc

View File

@ -24,7 +24,7 @@ namespace osu.Game.Graphics.UserInterface
protected override bool InternalContains(Vector2 screenSpacePos) => base.InternalContains(screenSpacePos) || Dropdown.Contains(screenSpacePos);
private bool isEnumType => typeof(T).IsEnum;
private static bool isEnumType => typeof(T).IsEnum;
public OsuTabControl()
{