1
0
mirror of https://github.com/ppy/osu.git synced 2024-10-01 11:57:24 +08:00
osu-lazer/osu.Game/Overlays/Settings/SettingsEnumDropdown.cs

18 lines
547 B
C#
Raw Normal View History

2017-02-14 15:13:25 +08:00
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Graphics;
using osu.Game.Graphics.UserInterface;
namespace osu.Game.Overlays.Settings
{
public class SettingsEnumDropdown<T> : SettingsDropdown<T>
{
2017-05-20 06:22:42 +08:00
protected override Drawable CreateControl() => new OsuEnumDropdown<T>
{
Margin = new MarginPadding { Top = 5 },
RelativeSizeAxes = Axes.X,
};
}
}