Make OsuButton abstract

This commit is contained in:
Dean Herbert
2022-12-13 22:13:48 +09:00
parent edc78205d5
commit efe057176e
2 changed files with 2 additions and 49 deletions

View File

@ -19,7 +19,7 @@ namespace osu.Game.Graphics.UserInterface
/// <summary>
/// A button with added default sound effects.
/// </summary>
public partial class OsuButton : Button
public abstract partial class OsuButton : Button
{
public LocalisableString Text
{
@ -73,7 +73,7 @@ namespace osu.Game.Graphics.UserInterface
private readonly Box flashLayer;
public OsuButton(HoverSampleSet? hoverSounds = HoverSampleSet.Button)
protected OsuButton(HoverSampleSet? hoverSounds = HoverSampleSet.Button)
{
Height = 40;