Add "themed" dropdown variant and use in settings sidebar

This commit is contained in:
Bartłomiej Dach
2021-10-12 21:58:43 +02:00
parent 1fba932e84
commit a2f3a7cba8
4 changed files with 65 additions and 2 deletions

View File

@ -4,6 +4,7 @@
using System;
using osu.Framework.Graphics;
using osu.Game.Graphics.UserInterface;
using osu.Game.Graphics.UserInterfaceV2;
namespace osu.Game.Overlays.Settings
{
@ -12,7 +13,7 @@ namespace osu.Game.Overlays.Settings
{
protected override OsuDropdown<T> CreateDropdown() => new DropdownControl();
protected new class DropdownControl : OsuEnumDropdown<T>
protected new class DropdownControl : ThemedEnumDropdown<T>
{
public DropdownControl()
{